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 13612.1221244300@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:
> Oh, and text_name seems to give me this error:

>   ERROR:  compressed data is corrupt

> That's when I have this cast:

>   CREATE OR REPLACE FUNCTION citext(name)
>   RETURNS citext
>   AS 'text_name'
>   LANGUAGE internal IMMUTABLE STRICT;

I think you've got the direction backwards.


BTW, I removed the "Limitations" entry about I/O casting not working
with citext; we fixed that, no?
        regards, tom lane


pgsql-hackers by date:

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