Created
November 22, 2017 16:04
-
-
Save ryanpadilha/f794f8744f87356f915e6f9476b695b4 to your computer and use it in GitHub Desktop.
Useful commands for search objects on postgresql
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
psql -h 172.31.3.119 -U <username> -p 5492 <database> | |
\dt public.* | |
select * from pg_tables where schemaname='public'; | |
SELECT specific_catalog, specific_schema, specific_name, routine_name | |
FROM information_schema.routines | |
WHERE routine_type='FUNCTION' | |
AND specific_schema='public' | |
AND routine_name LIKE 'gin_%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment