]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert "Allow logical replication snapshots to be database-specific" master github/master
authorÁlvaro Herrera <alvherre@kurilemu.de>
Sun, 24 May 2026 04:33:19 +0000 (21:33 -0700)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Sun, 24 May 2026 04:33:19 +0000 (21:33 -0700)
commit01a80f062146af1b17b411c35cb8d992c487fa7c
tree5c5705a4be6e03c463922669230c9efb7eb04736
parent2c4bd2bf5700db98be0602854a8b7fa2c16b5f4a
Revert "Allow logical replication snapshots to be database-specific"

This reverts commit 0d3dba38c777, which was determined to have
fundamental flaws.  This restricts REPACK (CONCURRENTLY) so that only
one process can run it concurrently on different tables and even on
different databases; we'll lift that restriction in another way during
the next development cycle.

Reported-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/CAA4eK1Jg21ODQ7fS2fvN5W_S5kDRhAP5inj3XMRQaa=s-GbYhw@mail.gmail.com
21 files changed:
contrib/pg_visibility/pg_visibility.c
doc/src/sgml/logicaldecoding.sgml
src/backend/access/index/genam.c
src/backend/access/rmgrdesc/standbydesc.c
src/backend/access/transam/xlog.c
src/backend/access/transam/xlogfuncs.c
src/backend/postmaster/bgwriter.c
src/backend/replication/logical/decode.c
src/backend/replication/logical/logical.c
src/backend/replication/logical/snapbuild.c
src/backend/replication/pgrepack/pgrepack.c
src/backend/replication/slot.c
src/backend/storage/ipc/procarray.c
src/backend/storage/ipc/standby.c
src/include/access/xlog_internal.h
src/include/miscadmin.h
src/include/replication/output_plugin.h
src/include/replication/snapbuild.h
src/include/storage/procarray.h
src/include/storage/standby.h
src/include/storage/standbydefs.h