Re: Operator is not unique - Mailing list pgsql-general

From PegoraroF10
Subject Re: Operator is not unique
Date
Msg-id 1569418730413-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Operator is not unique  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Operator is not unique
List pgsql-general
Doing a inner join with pg_proc I´ll get this result. So, none of this casts I´ve created. Column prorettype is different, this is the problem ? select format_type(castsource, NULL), format_type(casttarget, NULL), castfunc, castcontext, castmethod, pr.* from pg_cast inner join pg_proc pr on castfunc = pr.oid where (castsource = 'numeric'::regtype or castsource = 'bigint'::regtype) and format_type(casttarget, NULL) in ('numeric','bigint') order by castsource;
format_typeformat_typecastfunccastcontextcastmethodpronamepronamespaceproownerprolangprocostprorowsprovariadicprotransformprokindprosecdefproleakproofproisstrictproretsetprovolatileproparallelpronargspronargdefaultsprorettypeproargtypesproallargtypesproargmodesproargnamesproargdefaultsprotrftypesprosrcprobinproconfigproacl
bigintnumeric1781ifnumeric111012100-ffalsefalsetruefalseis10170020NULLNULLNULLNULLNULLint8_numericNULLNULLNULL
numericbigint1779afint8111012100-ffalsefalsetruefalseis10201700NULLNULLNULLNULLNULLnumeric_int8NULLNULLNULL
numericnumeric1703ifnumeric111012100numeric_transformffalsefalsetruefalseis2017001700 23NULLNULLNULLNULLNULLnumericNULLNULLNULL


Sent from the PostgreSQL - general mailing list archive at Nabble.com.

pgsql-general by date:

Previous
From: Krishnakant Mane
Date:
Subject: Re: managing primary key conflicts while restoring data to table withexisting data
Next
From: Adrian Klaver
Date:
Subject: Re: managing primary key conflicts while restoring data to table withexisting data