Re: errcontext support in PL/Perl - Mailing list pgsql-hackers

From Alexey Klyukin
Subject Re: errcontext support in PL/Perl
Date
Msg-id 9F77E81C-131F-434B-8AB4-0C50302542CF@commandprompt.com
Whole thread Raw
In response to Re: errcontext support in PL/Perl  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: errcontext support in PL/Perl  (Alexey Klyukin <alexk@commandprompt.com>)
List pgsql-hackers
On Jul 21, 2009, at 7:20 PM, Alvaro Herrera wrote:

> Alexey Klyukin wrote:
>
>> NOTICE:  Test from function one
>> CONTEXT:  PL/Perl function "perl_log1"
>> SQL statement "SELECT * FROM perl_log1()"
>> PL/Perl function "perl_log1"
>
> Shouldn't the second "PL/Perl function" line say perl_log2 instead?

Hm, yeah, seems to be a problem. I'll change the callback to avoid  
using global data.

--
Alexey Klyukin       http://www.CommandPrompt.com
The PostgreSQL Company - Command Prompt, Inc.



pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: full join qualifications on 8.3.1 vs. 8.3.6
Next
From: Tom Lane
Date:
Subject: Re: full join qualifications on 8.3.1 vs. 8.3.6