Last active
October 15, 2017 15:37
-
-
Save slavamokerov/f7b1d6a66a7e5cc05dae280f4f6f2850 to your computer and use it in GitHub Desktop.
Search by description. 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 | |
objoid::regclass as tablename, | |
description as field_desc, | |
obj_description(objoid::regclass, 'pg_class') as table_desc | |
from pg_description | |
where description like 'sometext%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment