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

From Alvaro Herrera
Subject Re: errcontext support in PL/Perl
Date
Msg-id 20090721153947.GD32074@alvh.no-ip.org
Whole thread Raw
In response to errcontext support in PL/Perl  (Alexey Klyukin <alexk@commandprompt.com>)
Responses Re: errcontext support in PL/Perl
List pgsql-hackers
Alexey Klyukin wrote:

> Attached is a patch (HEAD) that sets errcontext with PL/Perl function  
> name, making a distinction between compilation and execution stages,  
> fixes error messages where function name was already included in the  
> message itself and updates regression tests. I'll appreciate any  
> suggestions on how to improve it.

Hmm, in plperl_exec_callback(), does the global variable work if you
call one plperl function from another?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Lars Kanis
Date:
Subject: Re: [PATCH] user mapping extension to pg_ident.conf
Next
From: Tom Lane
Date:
Subject: Re: [PATCH v4] Avoid manual shift-and-test logic in AllocSetFreeIndex