To fix this, we can override the SIGINT handler in the same way as for the
PostgreSQL client. Or perhaps we can move this functionality from the
django.db.backends.postgresql.client to the django.db.backends.base.client
module, so that all db backends can benefit from Ctrl-C working as per the
underlying db command line client.
--
Ticket URL: <https://code.djangoproject.com/ticket/33715>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* version: 4.0 => dev
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/33715#comment:1>
* owner: nobody => Hasan Ramezani
* status: new => assigned
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/15712 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/33715#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"1a78ef2b85467a18ea6d7eaa4b27f67d11c87b9e" 1a78ef2]:
{{{
#!CommitTicketReference repository=""
revision="1a78ef2b85467a18ea6d7eaa4b27f67d11c87b9e"
Fixed #33715 -- Allowed keyboard interrupt to abort queries in MySQL
dbshell.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33715#comment:3>