Re: Best way to construct Datum out of a string? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Best way to construct Datum out of a string?
Date
Msg-id 4DB8258C.6000303@dunslane.net
Whole thread Raw
In response to Best way to construct Datum out of a string?  (Yves Weißig <weissig@rbg.informatik.tu-darmstadt.de>)
List pgsql-hackers

On 04/27/2011 10:06 AM, 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?

CStringGetDatum()

The code is replete with examples,

cheers

andrew



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Best way to construct Datum out of a string?
Next
From: Andrew Dunstan
Date:
Subject: Re: fixing INT64_FORMAT warnings on Mingw