Re: Segfault using heap_form_tuple - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Segfault using heap_form_tuple
Date
Msg-id 26532.1207770651@sss.pgh.pa.us
Whole thread Raw
In response to Re: Segfault using heap_form_tuple  ("Claudio Rossi" <wind.claudio@inwind.it>)
List pgsql-hackers
"Claudio Rossi" <wind.claudio@inwind.it> writes:
> You guessed it right, I was trying to "CStringGetDatum" into a text field, now i solved it with

> values[n] = DirectFunctionCall1(textin, CStringGetDatum(...string...));

If you're working in CVS HEAD there's an easier way --- see
CStringGetTextDatum.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Shane Ambler
Date:
Subject: Re: Concurrent psql API
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] libpq type system 0.9a