Re: [Review] Tests citext casts by David Wheeler.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>, Ryan Bradetich <rbradetich(at)gmail(dot)com>
Subject: Re: [Review] Tests citext casts by David Wheeler.
Date: 2008-09-12 18:34:27
Message-ID: 13800.1221244467@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David E. Wheeler" <david(at)kineticode(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2008-09-12 18:35:42 Re: [Review] Tests citext casts by David Wheeler.
Previous Message Tom Lane 2008-09-12 18:31:40 Re: [Review] Tests citext casts by David Wheeler.