Re: citext operator precedence fix - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: citext operator precedence fix
Date
Msg-id 5F69FDD9-6A20-4280-8BB4-32B99C6212E7@kineticode.com
Whole thread Raw
In response to Re: citext operator precedence fix  (Josh Berkus <josh@agliodbs.com>)
Responses Re: citext operator precedence fix
List pgsql-hackers
On Sep 22, 2011, at 9:53 AM, Josh Berkus wrote:

>>
>> Then the question is: does it find only #2 via polymorphic lookup, or does it think that either #1 or #2 could work
(becausetext supports an implicit cast to citext, IIRC). If it's more than one it's an error. Not sure if the same
issueexists for operators. 
>
> Well, I just ran through the 7 potential combinations, and didn't get
> any errors.  Hard to tell which function is being used, of course.

That's what tests are for.

David



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: citext operator precedence fix
Next
From: Josh Berkus
Date:
Subject: Re: citext operator precedence fix