Hot Standy introduced problem with query cancel behavior

From: Kris Jurka <books(at)ejurka(dot)com>
To: simon(at)2ndquadrant(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Hot Standy introduced problem with query cancel behavior
Date: 2009-12-27 01:15:01
Message-ID: alpine.BSO.2.00.0912261948550.5784@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Attachment Content-Type Size
Cancel.java text/plain 377 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-12-27 14:52:43 Re: Removing pg_migrator limitations
Previous Message Andres Freund 2009-12-26 21:47:12 Re: Hot Standby and cancelling idle queries