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

From Josh Berkus
Subject Re: citext operator precedence fix
Date
Msg-id 4E7B6823.4000100@agliodbs.com
Whole thread Raw
In response to Re: citext operator precedence fix  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: citext operator precedence fix
List pgsql-hackers
> 1. citext_eq(citext,citext)
> 2. citext_eq(text,citext)
> 3. citext_eq(citext,text)
> 
> 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.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: EXPLAIN and nfiltered, take two
Next
From: "David E. Wheeler"
Date:
Subject: Re: citext operator precedence fix