Re: Hot Standy introduced problem with query cancel behavior
Simon Riggs <simon@2ndquadrant.com>
From: Simon Riggs <simon@2ndQuadrant.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-hackers@postgresql.org
Date: 2009-12-27T21:42:47Z
Lists: 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