Re: heap_form_tuple crashing - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: heap_form_tuple crashing
Date
Msg-id 4FC756CD.4080406@enterprisedb.com
Whole thread Raw
In response to heap_form_tuple crashing  (Atri Sharma <atri.jiit@gmail.com>)
Responses Re: heap_form_tuple crashing
List pgsql-hackers
On 31.05.2012 13:42, Atri Sharma wrote:
> I am trying to call heap_form_tuple to create a tuple from a datum.
>
> My call to heap_form_tuple looks like:
>
>
> val1=0;
> tupledesc1=BlessTupleDesc(node->ss.ss_currentRelation->rd_att);
> tuple=heap_form_tuple(tupledesc1,p1,&val1);
>
>
> p1 is a pointer to a Datum instance which is created from a char array.
>
> When I am running the code,the system is crashing.
>
> Please let me know what can the problem be and also what I should do
> to rectify it.

Hard to say without seeing the full code...

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Sergey Koposov
Date:
Subject: Re: 9.2beta1, parallel queries, ReleasePredicateLocks, CheckForSerializableConflictIn in the oprofile
Next
From: Atri Sharma
Date:
Subject: Re: heap_form_tuple crashing