Re: "cache reference leak" and "problem in alloc set" warnings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: "cache reference leak" and "problem in alloc set" warnings
Date
Msg-id 14498.1155912516@sss.pgh.pa.us
Whole thread Raw
In response to Re: "cache reference leak" and "problem in alloc set" warnings  (Volkan YAZICI <yazicivo@ttnet.net.tr>)
List pgsql-hackers
Volkan YAZICI <yazicivo@ttnet.net.tr> writes:
> Looks like my palloc() math was correct. Just I had missed special
> handling of attnulls array passed to heap_formtuple(). It had should be

>   attnulls[i] = (isnull) ? 'n' : ' ';

These days I'd use heap_form_tuple in new code --- then you can work
with plain bool isnull flags instead of that weird 'n'/' ' convention.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: BF Failure on Bandicoot
Next
From: Bruce Momjian
Date:
Subject: Re: installcheck-parallel