Convert raw fields into Datum
Started by sri harshaover 11 years ago2 messagesgeneral
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
Re: Convert raw fields into Datum
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
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general