Re: C Set Returning Function (SRF)

Поиск
Список
Период
Сортировка
От Gary Chambers
Тема Re: C Set Returning Function (SRF)
Дата
Msg-id alpine.DEB.2.00.1109081421510.30628@lollipop.garychambers.com
обсуждение исходный текст
Ответ на Re: C Set Returning Function (SRF)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Tom,

> CStringGetDatum produces a datum of type cstring.  You want a datum of
> type text.   PointerGetDatum(cstring_to_text(pw)) ought to do it.

Thanks very much -- that works!  This is my first foray into writing C
functions so I have a lot to learn.  Is there a better way to accomplish
what I am trying to do?

-- Gary Chambers

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

Предыдущее
От: Carlo Ascani
Дата:
Сообщение: Re: copy- what's my root directory?
Следующее
От: ScientificWare-Luigi D'Angelo
Дата:
Сообщение: replication set-up