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: 2007-10-05 19:15:03
Message-ID: 28115.1191611703@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Robert Kleemann 2007-10-05 21:05:07 Re: request for more descriptive plperl error messages
Previous Message Robert Kleemann 2007-10-05 17:19:48 Re: request for more descriptive plperl error messages