From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Kleemann <kleemann@scharp.org>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: request for more descriptive plperl error messages
Date: Fri, 05 Oct 2007 15:15:03 -0400
Message-ID: <28115.1191611703@sss.pgh.pa.us> (raw)
In-Reply-To: <4703E767.8020901@scharp.org>
References: <4703E767.8020901@scharp.org>
Robert Kleemann <kleemann@scharp.org> writes:
> I'd like to modify the code to return the perl function name and submit
> a patch but I've never developed in the postgres code base before and am
> not sure where to start. Can the function and schema name be found in
> the FunctionCallInfo structure that is passed?
No. The easiest thing to do is save it in the plperl_proc_desc struct.
See
http://archives.postgresql.org/pgsql-committers/2007-10/msg00117.php
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, kleemann@scharp.org
Subject: Re: request for more descriptive plperl error messages
In-Reply-To: <28115.1191611703@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox