Created
August 9, 2019 17:53
-
-
Save juelvaldivia/5de041d58b584212c62a5717a812ba04 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
t1.TABLE_NAME AS tabla_nombre, | |
PG_CATALOG.OBJ_DESCRIPTION(t2.OID, 'pg_class') AS tabla_descripcion | |
FROM | |
INFORMATION_SCHEMA.TABLES t1 | |
INNER JOIN PG_CLASS t2 ON (t2.relname = t1.table_name) | |
WHERE | |
t1.TABLE_SCHEMA='public' | |
ORDER BY | |
t1.TABLE_NAME; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment