Created
December 5, 2017 16:45
-
-
Save jeff/f225fb4c054d8c3e4f7593af4b7934d4 to your computer and use it in GitHub Desktop.
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
-- show namespace of function and function return type for compile_composite_attr | |
SELECT pg_proc.oid, pg_namespace.nspname, proname, type_namespace.nspname, pg_type.typname | |
FROM pg_proc | |
JOIN pg_namespace ON pg_proc.pronamespace = pg_namespace.oid | |
JOIN pg_type ON pg_proc.prorettype = pg_type.oid | |
JOIN pg_namespace AS type_namespace ON pg_type.typnamespace = type_namespace.oid | |
WHERE proname = 'compile_composite_attr'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment