Re: [GSoC] Question about returning bytea array

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: [GSoC] Question about returning bytea array
Дата
Msg-id 87muwy3thu.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на [GSoC] Question about returning bytea array  (Charles Cui <charles.cui1984@gmail.com>)
Ответы Re: [GSoC] Question about returning bytea array  (Charles Cui <charles.cui1984@gmail.com>)
Список pgsql-hackers
>>>>> "Charles" == Charles Cui <charles.cui1984@gmail.com> writes:

 Charles> I have the requirements to return a bytea array for some
 Charles> functions in pg_thrift plugin.

If you mean you want the return value to be of type bytea[], i.e. an SQL
array of bytea values, then you need to be using construct_array to
construct the result.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Odd procedure resolution
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Odd procedure resolution