agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Reject REPACK (ANALYZE) in a transaction block
Date: Tue, 08 Sep 2026 12:07:54 +0000
Message-ID: <E1x3ucD-00000003zKI-0p4y@gemulon.postgresql.org> (raw)
Reject REPACK (ANALYZE) in a transaction block
The current implementation doesn't support it correctly, leading to
mysterious warnings and some worse problems. Have the combination throw
an error.
This is intended as a temporary stopgap until we can implement it in a
future release, as it's a useful feature.
Author: Fujii Masao <masao.fujii@gmail.com>
Author: Antonin Houska <ah@cybertec.at>
Author: Osama Abdul Qader <osamaabdulqader.cs@gmail.com>
Reported-by: Nathan Bossart <nathandbossart@gmail.com>
Backpatch-through: 19
Discussion: https://postgr.es/m/apBCEl4hBHlq0axm@nathan
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/24dd8c369e5656a9c38f5494c9c57c38705ce62f
Modified Files
--------------
doc/src/sgml/ref/repack.sgml | 2 ++
src/backend/commands/repack.c | 13 ++++++++++++-
src/test/regress/expected/cluster.out | 17 ++++++++++++++++-
src/test/regress/sql/cluster.sql | 17 ++++++++++++++++-
4 files changed, 46 insertions(+), 3 deletions(-)
view thread (2+ messages)
Message-ID: <E1x3ucD-00000003zKI-0p4y@gemulon.postgresql.org>
Permalink: ../E1x3ucD-00000003zKI-0p4y@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1x3ucD-00000003zKI-0p4y@gemulon.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-committers@postgresql.org
Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Reject REPACK (ANALYZE) in a transaction block
In-Reply-To: <E1x3ucD-00000003zKI-0p4y@gemulon.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox