pg.ddx.io  pgbouncer/pgbouncer GitHub issues and pull requests  
help / color / mirror / Atom feed
From: cosgroveb (@cosgroveb) <noreply+cosgroveb@github.com>
To: pgbouncer/pgbouncer <noreply+pgbouncer-pgbouncer@github.com>
Subject: Re: [pgbouncer/pgbouncer] PR #1708: Answer pending PAUSE commands canceled by RESUME
Date: Sun, 15 Nov 2026 17:06:06 +0000
Message-ID: <gh-pgbouncer-pgbouncer-1708-c6898119354@github.com> (raw)
In-Reply-To: <gh-pgbouncer-pgbouncer-1708@github.com>
References: <gh-pgbouncer-pgbouncer-1708@github.com>

Hey @ritojoao,

We don't document any particular behavior on ^C. psql does the right thing and sends a protocol `CancelRequest`, which is handled in part by pgbouncer even though it never replies to the admin console. 

It looks like this was meant to work the way it [obviously should](https://github.com/pgbouncer/pgbouncer/commit/8613ca9320d1deacf30ad5b24d93a712c2ef41ee#diff-378f5127...). That changed with #147 maybe?

It looks like the reviewer and author there got close but didn't quite consider this case? https://github.com/pgbouncer/pgbouncer/pull/147#issuecomment-254341812

Nevertheless, the root cause here is a separate bug IMHO.

view thread (7+ messages)  latest in thread

Message-ID: <gh-pgbouncer-pgbouncer-1708-c6898119354@github.com>
Permalink:  ../gh-pgbouncer-pgbouncer-1708-c6898119354@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox