Re: Constructing array

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Constructing array
Дата
Msg-id 47CB4511.4010103@joeconway.com
обсуждение исходный текст
Ответ на Constructing array  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander wrote:
> Hi!
> 
> Does anybody have a good pointer for an example of how to construct an 
> array in a SRF? Or if not such a pointer, hints on which way is best to 
> do it? (it'll be an array of text strings, one-dimensional)
> 
> (This is from C, if that's not obvious)

I'm sure there are other good examples, but one possibility is to look 
at pg_conversion.c in PL/R source. Start with get_array_datum().

HTH,

Joe


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Constructing array
Следующее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: Read-ahead and parallelism in redo recovery