Discussion:
Convert raw fields into Datum
sri harsha
2014-10-08 12:22:25 UTC
Permalink
Hi,

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 ?

-- Harsha
Tom Lane
2014-10-08 13:19:26 UTC
Permalink
Post by sri harsha
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
--
Sent via pgsql-general mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Loading...