Re: heap_form_tuple crashing

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: heap_form_tuple crashing
Date: 2012-05-31 11:44:49
Message-ID: 4FC759B1.1040606@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Atri Sharma 2012-05-31 11:47:49 Re: heap_form_tuple crashing
Previous Message Atri Sharma 2012-05-31 11:42:37 Re: heap_form_tuple crashing