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

From Kris Jurka
Subject Hot Standy introduced problem with query cancel behavior
Date
Msg-id alpine.BSO.2.00.0912261948550.5784@leary.csoft.net
Whole thread Raw
Responses Re: Hot Standy introduced problem with query cancel behavior
List pgsql-hackers
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.

Kris Jurka

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Hot Standby and cancelling idle queries
Next
From: Bruce Momjian
Date:
Subject: Re: Removing pg_migrator limitations