Search Postgresql Archives

Re: Operator is not unique

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux