Re: Segfault using heap_form_tuple - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Segfault using heap_form_tuple
Date
Msg-id 24250.1207764729@sss.pgh.pa.us
Whole thread Raw
In response to Segfault using heap_form_tuple  ("Claudio Rossi" <wind.claudio@inwind.it>)
List pgsql-hackers
"Claudio Rossi" <wind.claudio@inwind.it> writes:
> values[0] = ...GetDatum(...my datum...);
> ...
> values[natts-1] = ...GetDatum(...my datum...);

You've omitted the details that probably matter.  My guess is that
you're inappropriately converting one of these values to a Datum,
or converting it to a Datum that's not really of the type the
tuple descriptor specifies.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Free Space Map data structure
Next
From: Heikki Linnakangas
Date:
Subject: Re: Commit fest queue