| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера