Re: errcontext support in PL/Perl

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: errcontext support in PL/Perl
Дата
Msg-id 14652.1248193349@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: errcontext support in PL/Perl  (Alexey Klyukin <alexk@commandprompt.com>)
Список pgsql-hackers
Alexey Klyukin <alexk@commandprompt.com> writes:
> On Jul 21, 2009, at 6:39 PM, Alvaro Herrera wrote:
>> Hmm, in plperl_exec_callback(), does the global variable work if you
>> call one plperl function from another?

> PL/Perl functions can't call each other directly.

Still, it's poor style to rely on the global variable when you don't
have to.  Use the error_context.arg field to pass it.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: errcontext support in PL/Perl
Следующее
От: Andrew Gierth
Дата:
Сообщение: full join qualifications on 8.3.1 vs. 8.3.6