Re: psql CLI: warn about ongoing transaction on exit - Mailing list pgsql-bugs

From Tom Lane
Subject Re: psql CLI: warn about ongoing transaction on exit
Date
Msg-id 25297.1190087510@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql CLI: warn about ongoing transaction on exit  (Neil Conway <neilc@samurai.com>)
List pgsql-bugs
Neil Conway <neilc@samurai.com> writes:
> 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.

+1 for some kind of notification that work was rolled back.  I concur
that demanding confirmation could have unpleasant consequences.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Sundarrajan"
Date:
Subject: BUG #3615: Exception with loading string value
Next
From: Martin Pitt
Date:
Subject: Re: psql CLI: warn about ongoing transaction on exit