Re: BUG #4203: perform dblink() in begin/exception returns wrong SQLSTATE code

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Henry Combrinck <henry(at)zen(dot)co(dot)za>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4203: perform dblink() in begin/exception returns wrong SQLSTATE code
Date: 2008-05-27 20:24:05
Message-ID: 11002.1211919845@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Joe Conway <mail(at)joeconway(dot)com> writes:
> Tom Lane wrote:
>> Yeah, the dblink code should probably try a bit harder to propagate the
>> original error fields.

> Sounds reasonable. Do you think this is a bug fix or an 8.4 enhancement?

8.4 enhancement I think, since a behavioral change here could pose a
compatibility issue for applications.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-05-27 21:36:39 Re: BUG #4204: COPY to table with FK has memory leak
Previous Message Joe Conway 2008-05-27 19:39:37 Re: BUG #4203: perform dblink() in begin/exception returns wrong SQLSTATE code

Browse pgsql-patches by date

  From Date Subject
Next Message Florian G. Pflug 2008-05-27 21:28:08 Re: Hint Bits and Write I/O
Previous Message Joe Conway 2008-05-27 19:39:37 Re: BUG #4203: perform dblink() in begin/exception returns wrong SQLSTATE code