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-20T23:10:08Z
Lists: pgsql-hackers
Peter Eisentraut wrote:
> 
> On Fri, 18 Feb 2000, Chris Bitmead wrote:
> 
> > I mean escape from a half-typed in query, not escape from psql
> > altogether.
> 
> If you don't read the documentation before running a program, I can't help
> you. Also, the welcome message points out both \? and \q.

I think it takes quite a while to realise that you can intersperse a
backslash command anywhere. like..

select * from
\q

which is a bit different to shell where
while :
exit

will not have the desired effect.