Created
June 11, 2016 04:04
-
-
Save david-pm/dad30dc33248acf14c9a438f0a4e2af6 to your computer and use it in GitHub Desktop.
get a list of all custom SQL views in postgres
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 table_name | |
FROM INFORMATION_SCHEMA.views | |
WHERE table_schema = ANY (current_schemas(false)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment