Re: [HACKERS] psql and Control-C

Chris <chrisb@nimrod.itg.telstra.com.au>

From: Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>
To: PostgreSQL Development <pgsql-hackers@postgreSQL.org>
Date: 2000-02-18T01:19:51Z
Lists: pgsql-hackers
Bruce Momjian wrote:
> 
> >
> > > Seems we can just ignore ^C if a query is not being run.  Is that OK
> > > with everyone.  Looks easy to do.
> >
> > It would be a trap for new users (some old ones too) who may not know
> > how to escape. longjmp should be easy too, if it works.
> 
> If they don't know ^D exits, they really are going to have trouble with
> Unix.

I mean escape from a half-typed in query, not escape from psql
altogether.