Created
July 15, 2020 07:59
-
-
Save sumitsahoo/a3c64115a11fbc44cad2b93787be8f28 to your computer and use it in GitHub Desktop.
See all user defined tables in PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
* | |
FROM | |
pg_catalog.pg_tables | |
WHERE | |
schemaname != 'pg_catalog' | |
AND schemaname != 'information_schema'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment