Re: Reporting errors inside plpgsql/SPI queries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Reporting errors inside plpgsql/SPI queries
Date: 2004-03-21 23:34:03
Message-ID: 14075.1079912043@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joe Conway <mail(at)joeconway(dot)com> writes:
> Tom Lane wrote:
>> Does this bother people enough to justify hacking the SPI interface
>> to allow a label to be passed in?

> That may be the only way to have the message make sense in all contexts.

Could be. For the moment I committed the code using "SQL query" (maybe
content-free, but by the same token reasonably likely to apply
everywhere...) I'm still open to alternatives though.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Bertheau 2004-03-22 00:10:29 Re: pg_autovacuum next steps
Previous Message Tom Lane 2004-03-21 23:12:41 Re: pg_autovacuum next steps