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

From Tom Lane
Subject Re: Question about Encoding a Custom Type
Date
Msg-id 5704.1213639612@sss.pgh.pa.us
Whole thread Raw
In response to Re: Question about Encoding a Custom Type  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: Question about Encoding a Custom Type  ("David E. Wheeler" <david@kineticode.com>)
List pgsql-hackers
"David E. Wheeler" <david@kineticode.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


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Question about Encoding a Custom Type
Next
From: "David E. Wheeler"
Date:
Subject: Re: Question about Encoding a Custom Type