Re: Segfault using heap_form_tuple - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: Segfault using heap_form_tuple
Date
Msg-id 2e78013d0804091027oe22ed65ka6b8baac81078894@mail.gmail.com
Whole thread Raw
In response to Segfault using heap_form_tuple  ("Claudio Rossi" <wind.claudio@inwind.it>)
List pgsql-hackers
On Wed, Apr 9, 2008 at 10:48 PM, Claudio Rossi <wind.claudio@inwind.it> wrote:

>  nulls = (bool *)palloc(natts*sizeof(bool *));
>

May not be related to segfault you are seeing, but this looks completely wrong.
You want array of bool and not (bool *).


Thanks,
Pavan


-- 
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "Claudio Rossi"
Date:
Subject: Segfault using heap_form_tuple
Next
From: Tom Lane
Date:
Subject: Re: Concurrent psql API