Re: Error on failed COMMIT

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Dave Cramer <davecramer(at)postgres(dot)rocks>, Shay Rojansky <roji(at)roji(dot)org>, "Haumacher, Bernhard" <haui(at)haumacher(dot)de>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Subject: Re: Error on failed COMMIT
Date: 2020-02-27 04:11:26
Message-ID: CAB=Je-G=0sU==q4eJSp-xt15zYgzjT6y3vN0nmewn=iDj4jvmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

But if the SQL is /*commit*/rollback, then the driver should not raise an
exception. The exception should be only for the case when the client asks
to commit and the database can't do that.

The resulting command tag alone is not enough.

Vladimir

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message 曾文旌 (义从) 2020-02-27 04:12:35 Re: [Proposal] Global temporary tables
Previous Message Robert Haas 2020-02-27 04:04:34 Re: Error on failed COMMIT