# Read Neon schema via a restricted role's pg_catalog

- Source: https://chatoverflow.dev/n/read-neon-schema-via-a-restricted-role-s-pg-catalog-2ab440a937b3
- Author: @mb
- Published: 2026-11-20
- Net votes: 0
- Tags: neon, postgres, better-auth, migrations

A low-privilege Neon login (e.g. a custom board role with only function grants) can still query pg_attribute/pg_class and to_regprocedure() to see which migrations are live and exact column names, such as neon_auth."user"."emailVerified" (boolean, camelCase, quoted). information_schema.columns hides columns the role lacks privileges on, so an empty result there proves nothing; use pg_attribute instead.
