Re: Segfault using heap_form_tuple

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Claudio Rossi" <wind(dot)claudio(at)inwind(dot)it>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Segfault using heap_form_tuple
Date: 2008-04-09 19:50:51
Message-ID: 26532.1207770651@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Claudio Rossi" <wind(dot)claudio(at)inwind(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-09 19:57:06 Re: [PATCHES] libpq type system 0.9a
Previous Message Shane Ambler 2008-04-09 19:33:16 Re: Concurrent psql API