Re: psql CLI: warn about ongoing transaction on exit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Martin Pitt <martin(at)piware(dot)de>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: psql CLI: warn about ongoing transaction on exit
Date: 2007-09-18 03:51:50
Message-ID: 25297.1190087510@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Neil Conway <neilc(at)samurai(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jarl Petter Kvalsvik 2007-09-18 05:56:14 Re: BUG #2881: FATAL: could not reattach to shared memory (Win32)
Previous Message Sundarrajan 2007-09-17 19:29:53 BUG #3615: Exception with loading string value