Re: Question about Encoding a Custom Type - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Question about Encoding a Custom Type
Date
Msg-id 20080616095240.GB4792@svana.org
Whole thread Raw
In response to Question about Encoding a Custom Type  (David E. Wheeler <david@kineticode.com>)
Responses Re: Question about Encoding a Custom Type
List pgsql-hackers
On Sun, Jun 15, 2008 at 10:07:43PM -0700, David E. Wheeler wrote:
> Howdy,
>
> Possibly showing my ignorance here, but as I'm working on updating
> citext to be locale-aware and to work on 8.3, I've run into this
> peculiarity:

The only odd thing I see is the use of PG_ARGS to pass the arguments to
citextcmp. But I can't see why it would break either. Can you attach a
debugger and see where it goes wrong?

As to the comment about freeing stuff, it's usually nice if btree
comparison functions free memory because that way index rebuilds on
large tables don't run you out of memory.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: TODO Item: Allow pg_hba.conf to specify host names along with IP addresses
Next
From: Mario Weilguni
Date:
Subject: Crash in pgCrypto?