Re: proposal: alternative psql commands quit and exit
| От | Alvaro Herrera |
|---|---|
| Тема | Re: proposal: alternative psql commands quit and exit |
| Дата | |
| Msg-id | 20180124135814.rqaqq7gihjj65uqu@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: proposal: alternative psql commands quit and exit (Vik Fearing <vik.fearing@2ndquadrant.com>) |
| Ответы |
Re: proposal: alternative psql commands quit and exit
|
| Список | pgsql-hackers |
Vik Fearing wrote:
> I haven't applied the patch, but what happens if you combine these?
> From your examples, I would imagine something like this:
>
> test=# select '
> test'# quit
> Use \q to quit or press control-C to clear the input buffer.
> test'# \q
> test'#
>
> Surely that's not helpful.
But there's a simple solution to that: make it two messages, one when
inside quotes ("Use Control-C to clear the input buffer, then \q to
quit") and one outside (current wording). Wasn't this already proposed
elsewhere in the thread?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: