pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Thu, 1 Feb 2018 08:25:27 +0000
Message-ID: <5A72CEF7.8050504@sibvisions.com> (raw)
In-Reply-To: <CAKFQuwZAi7PLdan2uf-9JFTWgjnccEhL6Z+2Tge8YM9-_8zVoA@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>
	<5A6F28A7.5080800@sibvisions.com>
	<CAKFQuwYWCS8jwgE2favEUu+3djhMZTMf3LHBMWXy+h5k=3ccsA@mail.gmail.com>
	<5A702F6B.60804@sibvisions.com>
	<CAKFQuwZAi7PLdan2uf-9JFTWgjnccEhL6Z+2Tge8YM9-_8zVoA@mail.gmail.com>

On 31.01.2018 19:58, David G. Johnston wrote:
> ​Now that I've skimmed the tutorial again I think pointing the reader of
> the SQL Commands there to learn how it works in practice is better than
> trying to explain it in BEGIN and/or SAVEPOINT.

That seems like a good idea, yeah.

> I decided to add a title to the part of SAVEPOINTS and introduce the term
> "Sub-Transaction" there though I'm not married to it - re-wording it using
> only "savepoint" is something that should be tried still.

Technically, it *is* a sub-transaction, Savepoints are just the means to do it.
I think that a sub-transaction is the concept, Savepoint is the implementation.

> A title and a paragraph or two on aborted transaction behavior probably
> should be added as well.

I'd like that. I might be able to type something up, though I'm currently a
little bit short on time, so don't wait for me please.

Just to make sure, you have two typos in there, "61: tranasctions" and "106:
implment". Also I'd like to take the opportunity to agree with Laurenz here,
"pseudo" seems to be misplaced, they *are* sub-transactions.

view thread (32+ messages)

Message-ID: <5A72CEF7.8050504@sibvisions.com>
Permalink:  ../5A72CEF7.8050504@sibvisions.com/
Also on:    postgresql.org/message-id/5A72CEF7.8050504@sibvisions.com

 · 

reply

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: <5A72CEF7.8050504@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> <CAKFQuwYWCS8jwgE2favEUu+3djhMZTMf3LHBMWXy+h5k=3ccsA@mail.gmail.com> <5A702F6B.60804@sibvisions.com> <CAKFQuwZAi7PLdan2uf-9JFTWgjnccEhL6Z+2Tge8YM9-_8zVoA@mail.gmail.com> <5A72CEF7.8050504@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