Re: Question about Encoding a Custom Type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about Encoding a Custom Type
Date: 2008-06-16 18:06:52
Message-ID: 5704.1213639612@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:
> What's even weirder is that it can not work and then suddenly work:

Smells like uninitialized-memory problems to me. Perhaps you are
miscalculating the length of the input data?

Are you testing in an --enable-cassert build? The memory clobber
stuff can help to make it more obvious where such problems lurk.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2008-06-16 18:29:33 Re: Question about Encoding a Custom Type
Previous Message David E. Wheeler 2008-06-16 17:44:55 Re: Question about Encoding a Custom Type