glaredb
glaredb copied to clipboard
(Local): Hitting ctrl-c with a query running shouldn't exit the program
Description
Title.
I'd expect ctrl-c to cancel the currently running query, not exit the program.
@scsmithr Can you make a reproducible example? What shell are you using?
We have CTRL+c configured as you described. Only CTRL+d exits the program.ÏÏ
sean@Seans-Air ~ % ./glaredb
GlareDB (v0.8.0)
Type \help for help.
> create external database pg from postgres options (connection_string = 'postgres://postgres:[email protected]:5432/postgres');
^C
sean@Seans-Air ~ %
That postgres instance doesn't exist, so the query would error once the connection times out. But if you ctrl+c, it'll exit.
Using zsh.