Created
February 11, 2018 17:25
-
-
Save arbo77/a2274c88c0da5774801c3f147102b1ba to your computer and use it in GitHub Desktop.
PostgreSQL Procedure List
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 n.nspname AS schema | |
,proname AS fname | |
,proargnames AS args | |
,t.typname AS return_type | |
,pg_get_functiondef(p.oid) as definition | |
FROM pg_proc p | |
JOIN pg_type t | |
ON p.prorettype = t.oid | |
LEFT OUTER | |
JOIN pg_description d | |
ON p.oid = d.objoid | |
LEFT OUTER | |
JOIN pg_namespace n | |
ON n.oid = p.pronamespace | |
where n.nspname not in ('pg_catalog','information_schema') | |
order by n.nspname,proname ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment