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
#!/bin/sh | |
# Site script for configure. It is resourced via $CONFIG_SITE environment varaible. | |
# If user did not specify libdir, guess the correct target: | |
# Use lib64 for 64 bit bi-arch targets, keep the default for the rest. | |
if test "$libdir" = '${exec_prefix}/lib' ; then | |
ac_config_site_64bit_host=NONE | |
case "$host" in |
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", | |
p.proname , | |
pg_catalog.pg_get_function_result(p.oid) , | |
pg_catalog.pg_get_function_arguments(p.oid) , | |
CASE | |
WHEN length( pg_catalog.pg_get_function_arguments(p.oid)) = 0 THEN 0 | |
ELSE array_length( regexp_split_to_array(pg_catalog.pg_get_function_arguments(p.oid), E'\,+'),1) | |
END as "nargs" | |
FROM pg_catalog.pg_proc p |