On 27.04.2011 17:06, Yves Weißig wrote:
Hi,

sadly, so far my search in the source code wasn't very successfull on
this topic.
So, how can I construct a Datum out of a string?

What kind of a Datum do you want it to be? What data type? See CStringGetDatum, or perhaps CStringGetTextDatum(). Or perhaps you want to call the input function of some other datatype, with InputFunctionCall.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to