Re: [GSoC] Question about returning bytea array

Поиск
Список
Период
Сортировка
От Charles Cui
Тема Re: [GSoC] Question about returning bytea array
Дата
Msg-id CA+SXE9ujZPx-mgo=fKrhcKSj773zLZOFdLZOobtM0e7DKcWK3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GSoC] Question about returning bytea array  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
construct_md_array works for me, thanks for inputs!

2018-05-17 13:42 GMT-07:00 Andrew Gierth <andrew@tao11.riddles.org.uk>:
>>>>> "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 по дате отправления:

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Fix for FETCH FIRST syntax problems
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Fix for FETCH FIRST syntax problems