Re: request for more descriptive plperl error messages - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: request for more descriptive plperl error messages
Date
Msg-id 28115.1191611703@sss.pgh.pa.us
Whole thread Raw
In response to request for more descriptive plperl error messages  (Robert Kleemann <kleemann@scharp.org>)
Responses Re: request for more descriptive plperl error messages
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Robert Kleemann
Date:
Subject: Re: request for more descriptive plperl error messages
Next
From: Robert Kleemann
Date:
Subject: Re: request for more descriptive plperl error messages