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: 20090721153947.GD32074@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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 http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

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