Re: request for more descriptive plperl error messages
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: Robert Kleemann <kleemann(at)scharp(dot)org>
- Cc: pgsql-interfaces(at)postgresql(dot)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> <text/plain>
Robert Kleemann <kleemann(at)scharp(dot)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
Home |
Main Index |
Thread Index