Re: Error on failed COMMIT - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Error on failed COMMIT
Date
Msg-id CA+TgmoYwXS65VjSZFWxx0Rfmr3Y28j+7QrkBM5hDVn4diztMkA@mail.gmail.com
Whole thread Raw
In response to Re: Error on failed COMMIT  (Dave Cramer <davecramer@postgres.rocks>)
Responses Re: Error on failed COMMIT  (Dave Cramer <davecramer@postgres.rocks>)
List pgsql-hackers
On Mon, Feb 24, 2020 at 7:29 AM Dave Cramer <davecramer@postgres.rocks> wrote:
> Well the driver really isn't in the business of changing the semantics of the server.

I mean, I just can't agree with that way of characterizing it. It
seems clear enough that the driver not only should not change the
semantics of the server, but that it cannot. It can, however, decide
which of the things that the server might do (or that the application
connected to it might do) ought to result in it throwing an exception.
And a slightly different set of decisions here would produce the
desired behavior instead of behavior which is not desired.

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



pgsql-hackers by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: [Patch] Make pg_checksums skip foreign tablespace directories
Next
From: Michael Paquier
Date:
Subject: Re: [Patch] Make pg_checksums skip foreign tablespace directories