Re: Hot Standy introduced problem with query cancel behavior - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Hot Standy introduced problem with query cancel behavior
Date
Msg-id 1261950167.18116.349.camel@ebony
Whole thread Raw
In response to Hot Standy introduced problem with query cancel behavior  (Kris Jurka <books@ejurka.com>)
Responses Re: Hot Standy introduced problem with query cancel behavior  (Joachim Wieland <joe@mcknight.de>)
List pgsql-hackers
On Sat, 2009-12-26 at 20:15 -0500, Kris Jurka wrote:

> The JDBC driver's regression test suite has revealed a change in behavior 
> introduced by the hot standy patch.  Previously when a client sent a 
> cancel request on an idle connection, nothing happened.  Now it sends an 
> error message "ERROR: canceling statement due to user request".  This 
> confuses the driver's protocol handling and it thinks that the error 
> message is for the next statement issued.
> 
> Attached is a test case.

Thanks for the report. I'll see about a fix.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: parse_oper cache
Next
From: Simon Riggs
Date:
Subject: Re: Small locking bugs in hs