Re: pl/perl example in the doc no longer works in 9.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pl/perl example in the doc no longer works in 9.1
Дата
Msg-id 1691.1318543545@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pl/perl example in the doc no longer works in 9.1  (Alex Hunsaker <badalex@gmail.com>)
Ответы Re: pl/perl example in the doc no longer works in 9.1
Список pgsql-hackers
Alex Hunsaker <badalex@gmail.com> writes:
> This gets rid of of most of the if/else chain and the has_retval crap
> in plperl_handl_func(). Instead we let plperl_sv_to_datum() do most of
> the lifting. It also now handles VOIDOID and checks that the request
> result oid can be converted from the perl structure. For example if
> you passed in a hashref with a result oid that was not an rowtype it
> will error out with "PL/Perl cannot convert hash to non rowtype %s".
> Arrays behave similarly.

Applied with some further hacking of my own to clean up memory leaks
and grotty coding.
        regards, tom lane


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

Предыдущее
От: Alexey Klyukin
Дата:
Сообщение: Re: pl/perl example in the doc no longer works in 9.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Additional supplied modules