Re: Operator is not unique

Поиск
Список
Период
Сортировка
От PegoraroF10
Тема Re: Operator is not unique
Дата
Msg-id 1569418730413-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: Operator is not unique  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: Operator is not unique
Список 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 по дате отправления:

Предыдущее
От: Krishnakant Mane
Дата:
Сообщение: Re: managing primary key conflicts while restoring data to table withexisting data
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: managing primary key conflicts while restoring data to table withexisting data