agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Reject REPACK (ANALYZE) in a transaction block
2+ messages / 1 participants
[nested] [flat]

* pgsql: Reject REPACK (ANALYZE) in a transaction block
@ 2026-09-08 12:07  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Álvaro Herrera @ 2026-09-08 12:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25b21c0bb712b615f22cf5fcc176764a416368bd

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Reject REPACK (ANALYZE) in a transaction block
@ 2026-09-08 12:07  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Álvaro Herrera @ 2026-09-08 12:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-09-08 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-08 12:07 pgsql: Reject REPACK (ANALYZE) in a transaction block Álvaro Herrera <alvherre@kurilemu.de>
2026-09-08 12:07 pgsql: Reject REPACK (ANALYZE) in a transaction block Álvaro Herrera <alvherre@kurilemu.de>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox