Skip site navigation (1) Skip section navigation (2)

psql CLI: warn about ongoing transaction on exit

From: Martin Pitt <martin(at)piware(dot)de>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: psql CLI: warn about ongoing transaction on exit
Date: 2007-09-16 18:34:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Hello PostgreSQL developers,

we recently got a wishlist Debian bug [1] that asks for the psql
command line tool to "warn about an ongoing transaction on exit:

users=> 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."

Does this stand a chance to get implemented/accepted? I'm happy to
look into this and craft a patch if you would adopt it upstream.




Martin Pitt
Ubuntu Developer
Debian Developer


pgsql-bugs by date

Next:From: VijayDate: 2007-09-17 05:47:44
Subject: BUG #3612: Error Message in server.log
Previous:From: Philippe.ErrardDate: 2007-09-16 12:51:32
Subject: BUG #3611: The first INSERT return -1 with prepare() before

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group