Re: Operator is not unique
От | Adrian Klaver |
---|---|
Тема | Re: Operator is not unique |
Дата | |
Msg-id | 5f015007-4343-bf46-621a-e707b8206f5f@aklaver.com обсуждение исходный текст |
Ответ на | Re: Operator is not unique (PegoraroF10 <marcos@f10.com.br>) |
Ответы |
Re: Operator is not unique
|
Список | pgsql-general |
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@aklaver.com
В списке pgsql-general по дате отправления: