Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres list all stored procedures query

select n.nspname as schema,
       p.proname as procedure
from pg_proc p
join pg_namespace n on p.pronamespace = n.oid
where n.nspname not in ('pg_catalog', 'information_schema')
	and p.prokind = 'p'
Source by dataedo.com #
 
PREVIOUS NEXT
Tagged: #postgres #list #stored #procedures #query
ADD COMMENT
Topic
Name
1+5 =