Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Subject: Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
Date: 2026-11-04 11:11:58
Message-ID: ausSrdtgvg5muHDK@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Nov-04, Peter Eisentraut wrote:

> The more I think about this, the old behavior might just be a bug. But in
> any case, let's deal with it intentionally.

Yeah, as a user I can't see ever having the intention for psql to quit
when I Ctrl-C a running command. It's not something I think we should
propagate.

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"Most hackers will be perfectly comfortable conceptualizing users as entropy
sources, so let's move on." (Nathaniel Smith)
https://mail.gnu.org/archive/html/monotone-devel/2007-01/msg00080.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ishjaap Singh 2026-11-04 11:15:44 Re: [PATCH] Fix interval input at minimum signed field values (BUG #19746)
Previous Message Peter Eisentraut 2026-11-04 11:08:48 Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore