Skip site navigation (1) Skip section navigation (2)

Re: errcontext support in PL/Perl

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Alexey Klyukin <alexk(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: errcontext support in PL/Perl
Date: 2009-07-21 15:39:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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                      
The PostgreSQL Company - Command Prompt, Inc.

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2009-07-21 16:07:06
Subject: Re: [PATCH v4] Avoid manual shift-and-test logic in AllocSetFreeIndex
Previous:From: Lars KanisDate: 2009-07-21 15:35:08
Subject: Re: [PATCH] user mapping extension to pg_ident.conf

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group