Re: [GSoC] create type questions

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

 Charles> Hi Tom,
 Charles>    Thanks for your comments, I do forget create type shell.
 Charles> But even if I add this line still does not work.
 Charles> Here is the commit that can demo my bug (
 Charles> https://github.com/charles-cui/pg_thrift/commit/8b43f3e2172f4a1b4e61211f7d76b061a90c38f7
 Charles> )
 Charles> To see it, download the repo and do make install && make installcheck.
 Charles> It cannot return a bytea as expected.

Your output function isn't doing anything, and in particular it's not
returning any value (just dropping off the end), so as soon as pg tries
to output a query result containing a thrift_binary value, it either
outputs garbage or crashes.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_config.h.win32 missing a set of flags from pg_config.h.in added in v11 development
Следующее
От: Charles Cui
Дата:
Сообщение: Re: [GSoC] create type questions