Re: pgsql: Code review for spi_query/spi_fetchrow patch:

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pgsql: Code review for spi_query/spi_fetchrow patch:
Дата
Msg-id 43564B21.9060609@dunslane.net
обсуждение исходный текст
Ответ на Re: pgsql: Code review for spi_query/spi_fetchrow patch: handle errors  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers

Tom Lane wrote:

>David Fetter <david@fetter.org> writes:
>
>
>>On Tue, Oct 18, 2005 at 02:13:14PM -0300, Tom Lane wrote:
>>
>>
>>>Log Message:
>>>-----------
>>>Code review for spi_query/spi_fetchrow patch: handle errors sanely,
>>>avoid leaking memory.  I would add a regression test for error
>>>handling except it seems eval{} can't be used in unprivileged plperl
>>>:-(
>>>
>>>
>
>
>
>>What would you be using the eval{} to do?
>>
>>
>
>Catch the error inside the Perl function.
>
>
>
>

We could load plperlu in addition to plperl for the regression tests -
IIRC you made me make provision for loading multiple languages :-)

cheers

andrew

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

Предыдущее
От: dpage@pgfoundry.org (User Dpage)
Дата:
Сообщение: pginstaller - pginst: Include pgAdmin3's Spanish hint files
Следующее
От: am@pgfoundry.org (User Am)
Дата:
Сообщение: press - pr: Partial translation of the press release to Romanian.