Re: C function to return tuple

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C function to return tuple
Дата
Msg-id 6789.1285519954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: C function to return tuple  (Marios Vodas <mvodas@gmail.com>)
Ответы Re: C function to return tuple  (Marios Vodas <mvodas@gmail.com>)
Список pgsql-hackers
Marios Vodas <mvodas@gmail.com> writes:
> //I need to get this working
>     *values[0] = e;*
> *    values[1] = i;*

Maybe you're missing HeapTupleGetDatum() there?  Just from a data type
cleanliness standpoint, you shouldn't ever assign something to Datum or
vice versa without applying the correct conversion macro.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Still more tweaking of git_changelog.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Still more tweaking of git_changelog.