Re: Segfault using heap_form_tuple - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: Segfault using heap_form_tuple
Date
Msg-id [email protected]
Whole thread Raw
In response to Segfault using heap_form_tuple  ("Claudio Rossi" <[email protected]>)
List pgsql-hackers
On Wed, Apr 9, 2008 at 10:48 PM, Claudio Rossi <[email protected]> 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