pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: splarv@ya.ru
Subject: Savepoints in plpgsql
Date: Fri, 12 Jul 2024 05:52:24 +0000
Message-ID: <172076354433.736586.14347210271966220018@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/plpgsql-transactions.html
Description:

https://www.postgresql.org/docs/current/plpgsql-transactions.html

In this section nothing mentioned that a savepoint (a subtransaction) will
not work inside plpgsql. Savepoint command is ended with "ERROR: 
unsupported transaction command in PL/pgSQL". Also need to say, that "begin
end" block with "exception" handler will implicitly save and release
savepoints.


view thread (4+ messages)  latest in thread

Message-ID: <172076354433.736586.14347210271966220018@wrigleys.postgresql.org>
Permalink:  ../172076354433.736586.14347210271966220018@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/172076354433.736586.14347210271966220018@wrigleys.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, splarv@ya.ru
  Subject: Re: Savepoints in plpgsql
  In-Reply-To: <172076354433.736586.14347210271966220018@wrigleys.postgresql.org>

* 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