Re: Error on failed COMMIT

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Shay Rojansky <roji(at)roji(dot)org>, "Haumacher, Bernhard" <haui(at)haumacher(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Error on failed COMMIT
Date: 2020-02-24 13:09:52
Message-ID: CADK3HHKMx7mH=ZTFv4OanftJ+5H+bo0zDAdmT0D9XknLnr3EwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 24 Feb 2020 at 07:25, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Mon, Feb 24, 2020 at 7:29 AM Dave Cramer <davecramer(at)postgres(dot)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.
>
> --
>

Fair enough. What I meant to say was that the driver isn't in the business
of providing different semantics than the server provides.

> Dave Cramer
> http://www.postgres.rocks
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2020-02-24 13:10:56 Re: v12 "won't fix" item regarding memory leak in "ATTACH PARTITION without AEL"; (or, relcache ref counting)
Previous Message Andy Fan 2020-02-24 12:44:26 Re: [PATCH] Erase the distinctClause if the result is unique by definition