Re: Hot Standy introduced problem with query cancel behavior

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Hot Standy introduced problem with query cancel behavior
Date: 2009-12-27 21:42:47
Message-ID: 1261950167.18116.349.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-12-27 22:10:09 Re: Small locking bugs in hs
Previous Message Robert Haas 2009-12-27 21:29:28 Re: parse_oper cache