Re: Convert raw fields into Datum - Mailing list pgsql-general

From Tom Lane
Subject Re: Convert raw fields into Datum
Date
Msg-id 15230.1412774366@sss.pgh.pa.us
Whole thread Raw
In response to Convert raw fields into Datum  (sri harsha <sriharsha9992@gmail.com>)
List pgsql-general
sri harsha <sriharsha9992@gmail.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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: psql connection issue
Next
From: Israel Brewster
Date:
Subject: Sync production DB with development?