Re: request for more descriptive plperl error messages

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
Robert Kleemann <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.