Re: New docs chapter on Transaction Management and related changes - Mailing list pgsql-hackers

From Robert Treat
Subject Re: New docs chapter on Transaction Management and related changes
Date
Msg-id CAJSLCQ32vZ8S+yFbO1bKbKT=JE8Q6oRJXeRqfN6Atk-XJKPr7g@mail.gmail.com
Whole thread Raw
In response to Re: New docs chapter on Transaction Management and related changes  (Bruce Momjian <bruce@momjian.us>)
Responses Re: New docs chapter on Transaction Management and related changes  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Fri, Oct 14, 2022 at 3:51 PM Bruce Momjian <bruce@momjian.us> wrote:
> Attached is the merged patch from all the great comments I received.  I
> have also rebuilt the docs with the updated patch:
>
>         https://momjian.us/tmp/pgsql/
>

+   <command>RELEASE SAVEPOINT</command> also subcommits and destroys
+   all savepoints that were established after the named savepoint was
+   established. This means that any subtransactions of the named savepoint
+   will also be subcommitted and destroyed.

Wonder if we should be more explicit that data changes are preserved,
not destroyed... something like:
"This means that any changes within subtransactions of the named
savepoint will be subcommitted and those subtransactions will be
destroyed."


Robert Treat
https://xzilla.net



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: archive modules
Next
From: Cary Huang
Date:
Subject: Re: Avoid memory leaks during base backups