Last active
June 16, 2021 05:36
-
-
Save gusdewa/0cf3bf883846ebba8aa96e3992a46975 to your computer and use it in GitHub Desktop.
Postgres List All Functions with Parameters
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 | |
routines.routine_name, | |
parameters.data_type, | |
parameters.ordinal_position | |
FROM | |
information_schema.routines | |
LEFT JOIN information_schema.parameters ON | |
routines.specific_name = parameters.specific_name | |
WHERE | |
routines.specific_schema = 'public' | |
ORDER BY | |
routines.routine_name, | |
parameters.ordinal_position |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment