Re: Question about Encoding a Custom Type

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Question about Encoding a Custom Type
Дата
Msg-id B88731EB-F654-4A0A-81E0-0FD6A340E510@kineticode.com
обсуждение исходный текст
Ответ на Re: Question about Encoding a Custom Type  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Question about Encoding a Custom Type
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Crash in pgCrypto?
Следующее
От: Robert Treat
Дата:
Сообщение: Re: pg_stat_statements