Re: problem with varlena and extended type - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: problem with varlena and extended type
Date
Msg-id 162867790907050048x3ca97ceekf0b8b7b622c00bbc@mail.gmail.com
Whole thread Raw
In response to Re: problem with varlena and extended type  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
2009/7/4 Greg Stark <gsstark@mit.edu>:
> On Sat, Jul 4, 2009 at 10:31 PM, Greg Stark<gsstark@mit.edu> wrote:
>> It's pretty hard to guess where your bug is sitting here with no code
>> and no idea even what you've done to trigger it.
>>
>> At a guess there someplace you haven't detoasted a datum that had to
>> be detoasted. But like I said that's just a guess.
>>
>
> Actually on further thought I think this smells like a memory
> management bug. Maybe you've either you've prematurely freed this data
> structure or realloc'd it without tracking the new pointer and have
> returned a pointer to the freed object.

good shot - I had problem with repalloc

thank you very much
Pavel

>
>
> --
> greg
> http://mit.edu/~gsstark/resume.pdf
>


pgsql-hackers by date:

Previous
From: Brendan Jurd
Date:
Subject: Re: [pgsql-www] commitfest.postgresql.org
Next
From: Gregory Maxwell
Date:
Subject: Re: Multi-Dimensional Histograms