Re: Concurrent psql patch

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Concurrent psql patch
Дата
Msg-id 87lkfrb9kd.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Concurrent psql patch  ("Jim C. Nasby" <decibel@decibel.org>)
Ответы Re: Concurrent psql patch  ("Jim C. Nasby" <decibel@decibel.org>)
Список pgsql-patches
"Jim C. Nasby" <decibel@decibel.org> writes:

> Since this command will be getting used very frequently by anyone using
> concurrent connections interactively, it'd be nice if it was lower-case.
> It looks like that limits us to j, k, m, n, v, and y.  In unix this idea
> is about jobs, what about using \j?

Well currently it's not really terribly interesting to use interactively since
you could always just start a second shell and run a second instance of psql.
I really only have regression tests in mind for it. That's why I don't find it
a problem at all to only extend \g and not semicolon handling.

That said, I think a next step for this for interactive use would be to handle
C-z to "background" the currently running query. So perhaps it does make sense
to keep use cases like that when deciding on command names now.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [GENERAL] dropping role w/dependent objects
Следующее
От: David Fetter
Дата:
Сообщение: Re: [DOCS] OS/X startup scripts