Re: PATCH: CITEXT 2.0 v3

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PATCH: CITEXT 2.0 v3
Date: 2008-07-16 04:54:47
Message-ID: 200EC059-5627-4942-8F0D-89B70C4FBF1E@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jul 15, 2008, at 20:26, Tom Lane wrote:

> "David E. Wheeler" <david(at)kineticode(dot)com> writes:
>> So I guess my question is: what is wrong with the properties for
>> citextsend/citextrecv
>
> [ checks catalogs... ] textsend and textrecv are marked STABLE not
> IMMUTABLE. I am not totally sure about the reasoning offhand --- it
> might be because their behavior depends on client_encoding.

Thanks. Looks like maybe the xtypes docs need to be updated?

http://www.postgresql.org/docs/8.3/static/xtypes.html

Anyway, changing them to "STABLE STRICT" appears to have done the
trick (diff attached).

>> and what else might these failures be indicating
>> is wrong?
>
> I think the other diffs are okay, they just reflect the fact that
> you're
> depending on binary equivalence of text and citext.

Great, thanks. And with that, I think I'm just about ready to submit a
new version of the patch, coming up shortly.

Best,

David

Attachment Content-Type Size
regression.diffs application/octet-stream 2.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2008-07-16 04:57:04 Re: [PATCHES] WITH RECURSIVE updated to CVS TIP
Previous Message Sushant Sinha 2008-07-16 03:54:01 Re: [GENERAL] Fragments in tsearch2 headline