Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

Description: text/plain (377 bytes)


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group