Re: psql CLI: warn about ongoing transaction on exit

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: psql CLI: warn about ongoing transaction on exit
Дата
Msg-id 1190049372.26891.10.camel@dell.linuxdev.us.dell.com
обсуждение исходный текст
Ответ на psql CLI: warn about ongoing transaction on exit  (Martin Pitt <martin@piware.de>)
Ответы Re: psql CLI: warn about ongoing transaction on exit  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: psql CLI: warn about ongoing transaction on exit  (Martin Pitt <martin@piware.de>)
Список pgsql-bugs
On Sun, 2007-09-16 at 20:34 +0200, Martin Pitt wrote:
> users=> begin;
> BEGIN
> [...]
> users=> \q
> $ ...
>
> It would be really nice if psql prompted me whether I wanted to do
> this. As it stands, it just rolls back the transaction."

At a minimum, I think we could make the fact that the transaction
has been rolled back more obvious (e.g. echo a ROLLBACK command tag
to the output or a similar warning message). Asking for confirmation
might be too chatty, and it's certainly not possible in
non-interactive mode.

-Neil

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

Предыдущее
От: "Michael Akinde"
Дата:
Сообщение: BUG #3614: pg_config returns incorrect information for includedir-server
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: autovacuum starting for no apparent reason