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:31:40
Message-ID: 13612.1221244300@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:
> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-09-12 18:34:27 Re: [Review] Tests citext casts by David Wheeler.
Previous Message David E. Wheeler 2008-09-12 18:21:53 Re: [Review] Tests citext casts by David Wheeler.