Re: COMMIT leads to ROLLBACK

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COMMIT leads to ROLLBACK
Date: 2006-05-21 17:07:22
Message-ID: 6924.1148231242@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> writes:
> Issuing a COMMIT or an END as the last command leads to a
> ROLLBACK. Although the behaviour is correct, shouldn't the user be
> atleast warned about having issued a wrong command to end the
> transaction?

Please see the archives. This has been discussed ad nauseam before,
and no consensus has emerged to change it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2006-05-21 17:11:00 Re: COMMIT leads to ROLLBACK
Previous Message Gurjeet Singh 2006-05-21 16:57:04 COMMIT leads to ROLLBACK