Re: Error on failed COMMIT

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Dave Cramer <davecramer@postgres.rocks>, Shay Rojansky <roji@roji.org>, "Haumacher, Bernhard" <haui@haumacher.de>, Laurenz Albe <laurenz.albe@cybertec.at>
Date: 2020-02-27T04:04:34Z
Lists: pgsql-hackers
On Wed, Feb 26, 2020 at 11:53 PM Vladimir Sitnikov
<sitnikov.vladimir@gmail.com> wrote:
> Pushing full SQL parser to the driver is not the best idea taking into the account the extensibility the core has.

That wouldn't be necessary. You could just do strcmp() on the command tag.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company