Re: Hot Standy introduced problem with query cancel behavior

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Cc: Simon Riggs <simon@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, Fujii Masao <masao.fujii@gmail.com>, Joachim Wieland <joe@mcknight.de>, Kris Jurka <books@ejurka.com>
Date: 2010-01-12T18:43:58Z
Lists: pgsql-hackers
On Tuesday 12 January 2010 09:40:03 Simon Riggs wrote:
> On Tue, 2010-01-12 at 06:30 +0100, Andres Freund wrote:
> > Currently the patch does not yet do anything to avoid letting the
> > protocol out of sync. What do you think about adding a flag for error
> > codes not to communicate with the client (Similarly to COMERROR)?
> > 
> > So that one could do an elog(ERROR & ERROR_NO_SEND_CLIENT, .. or such?
> Seems fairly important piece.
Do you aggree on the approach then? Do you want to do it? 

Andres