Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-bugs by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group