Skip to content

Instantly share code, notes, and snippets.

@jonmathews
Created July 15, 2020 07:11
Show Gist options
  • Save jonmathews/b272bbe544db816c076fce599291ddcf to your computer and use it in GitHub Desktop.
Save jonmathews/b272bbe544db816c076fce599291ddcf to your computer and use it in GitHub Desktop.
Find all public column metadata in Postgres DB
select * from information_schema.columns where table_schema in (select schema_name from information_schema.schemata where schema_owner <> 'postgres')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment