Re: Operator is not unique

Поиск
Список
Период
Сортировка
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 по дате отправления: