On 9/30/19 5:48 AM, PegoraroF10 wrote:
This select gives me: ERROR: more than one function named "pg_catalog.day_inc"
In psql: \df pg_catalog.day_inc Or if you cannot get to psql then the query behind the above: SELECT n.nspname as "Schema", p.proname as "Name", pg_catalog.pg_get_function_result(p.oid) as "Result data type", pg_catalog.pg_get_function_arguments(p.oid) as "Argument data types", CASE p.prokind WHEN 'a' THEN 'agg' WHEN 'w' THEN 'window' WHEN 'p' THEN 'proc' ELSE 'func' END as "Type" FROM pg_catalog.pg_proc p LEFT JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace WHERE p.proname OPERATOR(pg_catalog.~) '^(pg_catalog.day_inc)$' AND pg_catalog.pg_function_is_visible(p.oid) ORDER BY 1, 2, 4;
-- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
-- Adrian Klaver adrian.klaver@xxxxxxxxxxx