heap_form_tuple crashing

From: Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: heap_form_tuple crashing
Date: 2012-05-31 10:42:39
Message-ID: CAOeZVid=h99PugcipXevWYg59Ar7W0b5aEPzP9odUCyUDi8Y0A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

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.

Atri
--
Regards,

Atri
l'apprenant

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dickson S. Guedes 2012-05-31 11:07:25 Re: patch: avoid heavyweight locking on hash metapage
Previous Message Alexander Korotkov 2012-05-31 10:34:51 Re: GiST buffering build, bug in levelStep calculation