Re: proposal: alternative psql commands quit and exit

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: proposal: alternative psql commands quit and exit
Дата
Msg-id 20180214055648.GA18177@momjian.us
обсуждение исходный текст
Ответ на Re: proposal: alternative psql commands quit and exit  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: proposal: alternative psql commands quit and exit
Список pgsql-hackers
On Mon, Feb 12, 2018 at 01:28:53AM -0500, Bruce Momjian wrote:
> > Should we give the same "Use control-D to quit." hint here for '\q'?
> > I think it is logical that we should.
> 
> I have applied the attached patch giving a ^D/^C hint where \q is
> ignored, and add C comment documenting why exit/quit is not documented.
> 
> I consider this issue closed, or quited, or exited.  :-)

FYI, Ivan Panchenko got applause at PGConf.Russia 2018 in Moscow when he
mentioned we added quit/exit to psql.  :-)  I also think the ^D/^C hint
for \q when you are in quotes will help too.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tapeblocks is uninitialized in logtape.c
Следующее
От: Pavan Deolasee
Дата:
Сообщение: Re: [HACKERS] MERGE SQL Statement for PG11