Re: Question about Encoding a Custom Type

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about Encoding a Custom Type
Date: 2008-06-16 14:24:41
Message-ID: B88731EB-F654-4A0A-81E0-0FD6A340E510@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jun 16, 2008, at 02:52, Martijn van Oosterhout wrote:

> 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?

Yes, I can do that, although I'm pretty new to C (let alone gdb), so
I'm not sure exactly how to go about it. I'll try to get on IRC later
today to see if anyone can help me along.

> 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.

Thanks. I'll add that to my list.

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2008-06-16 14:34:32 Re: pg_stat_statements
Previous Message Alvaro Herrera 2008-06-16 13:54:16 Re: Crash in pgCrypto?