From: Robert Zenz <robert.zenz@sibvisions.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Information on savepoint requirement within transctions
Date: Mon, 29 Jan 2018 13:59:04 +0000
Message-ID: <5A6F28A7.5080800@sibvisions.com> (raw)
In-Reply-To: <CAKFQuwbTro=vw6UxkGaR6DRdaPxGBOKTsLDJFWqD9Uz-n7gVXA@mail.gmail.com>
References: <5A6B3F78.6030908@sibvisions.com>
<CANu8Fixd_cKLouG_euktWHs12Nc7Ld5VXZ-qu13yuSs7HKnVPw@mail.gmail.com>
<5A6B4A12.9000002@sibvisions.com>
<CANu8FixBRh=+aKFDPtWc6o4o_++tOTDQSGDOBTsQ5AnfiiCFCQ@mail.gmail.com>
<CAKFQuwYY+uMxpgmWm=V=E99GL8x53cY5-oBnnqGb8ZhTmcbznw@mail.gmail.com>
<5A6EDD41.70005@sibvisions.com>
<CAKFQuwbTro=vw6UxkGaR6DRdaPxGBOKTsLDJFWqD9Uz-n7gVXA@mail.gmail.com>
On 29.01.2018 14:36, David G. Johnston wrote:
> Those questions would not be answered in user-facing documentation. You
> can explore the git history and search the far-back mailing list archives if
> you wish to satisfy your curiosity. For me this is how it works - the only
> question for me is whether I should argue that the behavior should be
> changed. I do vaguely recall this topic coming up in the recent (couple of
> years) past...but changing transaction behavior like this is problematic no
> matter how desirable the new state might be to have (and that's debatable).
From my point of view, no, it shouldn't be changed. It has always been this way
and I find nothing wrong with the approach, it is only something that you need
to be aware of, that's all.
> It may be worth updating the docs here...
I'd vote for that. I would have expected to see this mentioned in the
documentation a little bit more prominent than just a single sentence at the end
of the transaction tutorial. A short section about how the transaction behaves
in an error cases (and what to do) would be nice.
> ...but you have received your official answer - I'm nearly positive I'm right
> and even if I was mistaken most likely I would have been corrected by now. I
> am writing this on a mailing list...
>
> David J.
>
Thank you for your time and explanations.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robert.zenz@sibvisions.com
Subject: Re: Information on savepoint requirement within transctions
In-Reply-To: <5A6F28A7.5080800@sibvisions.com>
References: <5A6B3F78.6030908@sibvisions.com> <CANu8Fixd_cKLouG_euktWHs12Nc7Ld5VXZ-qu13yuSs7HKnVPw@mail.gmail.com> <5A6B4A12.9000002@sibvisions.com> <CANu8FixBRh=+aKFDPtWc6o4o_++tOTDQSGDOBTsQ5AnfiiCFCQ@mail.gmail.com> <CAKFQuwYY+uMxpgmWm=V=E99GL8x53cY5-oBnnqGb8ZhTmcbznw@mail.gmail.com> <5A6EDD41.70005@sibvisions.com> <CAKFQuwbTro=vw6UxkGaR6DRdaPxGBOKTsLDJFWqD9Uz-n7gVXA@mail.gmail.com> <5A6F28A7.5080800@sibvisions.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox