Re: Sync Rep v17
Merlin Moncure <mmoncure@gmail.com>
From: Merlin Moncure <mmoncure@gmail.com>
To: Dimitri Fontaine <dimitri@2ndquadrant.fr>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Robert Haas <robertmhaas@gmail.com>, Fujii Masao <masao.fujii@gmail.com>, Simon Riggs <simon@2ndquadrant.com>, pgsql-hackers@postgresql.org, Daniel Farina <daniel@heroku.com>
Date: 2011-03-02T17:39:09Z
Lists: pgsql-hackers
On Wed, Mar 2, 2011 at 9:58 AM, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote: > Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes: >> To achieve the effect Fujii is looking for, we would have to silently drop >> the connection. That would correctly leave the client not knowing whether >> the transaction committed or not. > > +1 > >>> It might be reasonable to COMMIT but also issue a warning message, or >>> to just close the connection without telling the client what happened, >>> but sending an error seems poor. >> >> Yeah, I guess that would work too, if the client knows to watch out for >> those warnings. > > -1 yeah, unless by warning, you meant 'error'. merlin