Re: [HACKERS] psql problem]

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] psql problem]
Дата
Msg-id 200002170334.WAA23228@candle.pha.pa.us
обсуждение исходный текст
Ответ на psql problem  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] psql problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] psql problem