Unique operator error w/ concatenation - Mailing list pgsql-admin

From Wells Oliver
Subject Unique operator error w/ concatenation
Date
Msg-id 7E1773C5-185E-48FB-B6DC-FED4DD19D317@padres.com
Whole thread Raw
Responses Re: Unique operator error w/ concatenation
List 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 by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?
Next
From: Tom Lane
Date:
Subject: Re: Unique operator error w/ concatenation