Re: Convert raw fields into Datum

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sri harsha <sriharsha9992(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Convert raw fields into Datum
Date: 2014-10-08 13:19:26
Message-ID: 15230.1412774366@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

sri harsha <sriharsha9992(at)gmail(dot)com> writes:
> I have the raw fields of a particular row in char * . Now my requirement
> is to convert these value into datum * . How should i go about this ? Does
> converting into datum depends on the type of the field too ?

Yes. You are probably looking for BuildTupleFromCStrings().

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Israel Brewster 2014-10-08 17:01:49 Sync production DB with development?
Previous Message Adrian Klaver 2014-10-08 13:19:18 Re: psql connection issue