Unique operator error w/ concatenation

Поиск
Список
Период
Сортировка
От Wells Oliver
Тема Unique operator error w/ concatenation
Дата
Msg-id 7E1773C5-185E-48FB-B6DC-FED4DD19D317@padres.com
обсуждение исходный текст
Ответы Re: Unique operator error w/ concatenation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Folks, experiencing an odd issue. The following on an 8.4 server: select 'foo'::text || 123

Blows up, saying:

ERROR:  operator is not unique: text || integer
LINE 1: select 'fo'::text || 123;
                          ^
HINT:  Could not choose a best candidate operator. You might need to add explicit type casts.

But on another postgres 8.4 server, it properly returns a concatenated string.

Any tips on how/where I can track down why/where there might be duplicate operators?

--
Wells Oliver
Architect, Baseball Systems
619-795-5359
San Diego Padres | 100 Park Boulevard | San Diego CA 92101


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unique operator error w/ concatenation