Re: [Review] Tests citext casts by David Wheeler. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [Review] Tests citext casts by David Wheeler.
Date
Msg-id 13800.1221244467@sss.pgh.pa.us
Whole thread Raw
In response to Re: [Review] Tests citext casts by David Wheeler.  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: [Review] Tests citext casts by David Wheeler.  ("David E. Wheeler" <david@kineticode.com>)
List pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> Pity. Looks like there were only a few I wasn't using, text_char,  
> char_text, text_name, and texttoxml. Do I really need to keep all my  
> other casts like these in 8.3?

> CREATE OR REPLACE FUNCTION int8(citext)
> RETURNS int8
> AS 'SELECT int8( $1::text )'
> LANGUAGE SQL IMMUTABLE STRICT;

Yeah, those are all replaced by the CoerceViaIO mechanism.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [Review] Tests citext casts by David Wheeler.
Next
From: "David E. Wheeler"
Date:
Subject: Re: [Review] Tests citext casts by David Wheeler.