Re: Segfault using heap_form_tuple

Поиск
Список
Период
Сортировка
От Claudio Rossi
Тема Re: Segfault using heap_form_tuple
Дата
Msg-id JZ2NA2$78C2892A4CFD9B32B08C747DC6B64147@libero.it
обсуждение исходный текст
Ответ на Segfault using heap_form_tuple  ("Claudio Rossi" <wind.claudio@inwind.it>)
Ответы Re: Segfault using heap_form_tuple  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> You've omitted the details that probably matter.  My guess is that
> you're inappropriately converting one of these values to a Datum,
> or converting it to a Datum that's not really of the type the
> tuple descriptor specifies.
>
>             regards, tom lane

Mate, you just won a beer :)

You guessed it right, I was trying to "CStringGetDatum" into a text field, now i solved it with

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

Thank you very much!

Claudio Rossi



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Claudio Rossi"
Дата:
Сообщение: Re: Segfault using heap_form_tuple
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Free Space Map data structure