﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27954	Prevent PostgreSQL dbshell from exiting on CTRL-C	Chris Sinchok	nobody	"I love to use dbshell, but have a nitpick with how it works for Postgres. When I'm using psql normally, I use ctrl-c to cancel a query, or to just reset the prompt. However, when I CTRL-C within dbshell, it throws a KeyboardInterrupt.

Perhaps we could override the SIGINT handler directly before launching the psql subprocess, and restore the handler in the finally block? I will attach a sample patch."	Cleanup/optimization	closed	Core (Management commands)	1.10	Normal	fixed			Accepted	1	0	0	0	0	0
