Re: [HACKERS] psql problem] - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] psql problem]
Date
Msg-id 200002170334.WAA23228@candle.pha.pa.us
Whole thread Raw
In response to psql problem  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
List pgsql-hackers
> 
> I was noticing that psql now exits on ctrl-C. This is much
> better than the previous behaviour where it kinda got
> muddled up and you could destroy your database if
> a half-completed command was in its buffer.

Yes, ^C exits if you are at a prompt, and terminates the current query
if you are running one. Very nice.

> But wouldn't it be better if it was like /bin/sh and
> popped you back to a fresh prompt or something?

You mean reprinted the prompt?

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] psql problem
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] psql problem