Re: heap_form_tuple crashing - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: heap_form_tuple crashing
Date
Msg-id 4FC759B1.1040606@enterprisedb.com
Whole thread Raw
In response to Re: heap_form_tuple crashing  (Atri Sharma <atri.jiit@gmail.com>)
Responses Re: heap_form_tuple crashing
List pgsql-hackers
On 31.05.2012 14:42, Atri Sharma wrote:
> Another thing I wanted to ask was that would you recommend building
> tuples from strings directly or converting them to Datum first and
> then build the tuples from Datum instances?

It depends. If you have all the values in strings already, then 
BuildTupleFromCStrings() is probably the easiest. But if you have some 
attributes in Datum format already, then it's probably easier and faster 
to use heap_form_tuple().

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


pgsql-hackers by date:

Previous
From: Atri Sharma
Date:
Subject: Re: heap_form_tuple crashing
Next
From: Atri Sharma
Date:
Subject: Re: heap_form_tuple crashing