public inbox for [email protected]  
help / color / mirror / Atom feed
From: Álvaro Herrera <[email protected]>
To: [email protected]
Subject: pgsql: Revert "Allow logical replication snapshots to be database-speci
Date: Sun, 24 May 2026 11:28:52 +0000
Message-ID: <[email protected]> (raw)

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 <[email protected]>
Discussion: https://postgr.es/m/CAA4eK1Jg21ODQ7fS2fvN5W_S5kDRhAP5inj3XMRQaa=s-GbYhw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/01a80f062146af1b17b411c35cb8d992c487fa7c

Modified Files
--------------
contrib/pg_visibility/pg_visibility.c       |  4 +-
doc/src/sgml/logicaldecoding.sgml           |  4 --
src/backend/access/index/genam.c            |  8 ----
src/backend/access/rmgrdesc/standbydesc.c   |  2 -
src/backend/access/transam/xlog.c           |  2 +-
src/backend/access/transam/xlogfuncs.c      |  2 +-
src/backend/postmaster/bgwriter.c           |  2 +-
src/backend/replication/logical/decode.c    | 12 +-----
src/backend/replication/logical/logical.c   |  3 --
src/backend/replication/logical/snapbuild.c | 60 +----------------------------
src/backend/replication/pgrepack/pgrepack.c |  7 ----
src/backend/replication/slot.c              |  2 +-
src/backend/storage/ipc/procarray.c         | 23 +----------
src/backend/storage/ipc/standby.c           | 24 +-----------
src/include/access/xlog_internal.h          |  2 +-
src/include/miscadmin.h                     |  9 -----
src/include/replication/output_plugin.h     |  1 -
src/include/replication/snapbuild.h         |  3 +-
src/include/storage/procarray.h             |  2 +-
src/include/storage/standby.h               |  3 +-
src/include/storage/standbydefs.h           |  1 -
21 files changed, 17 insertions(+), 159 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Revert "Allow logical replication snapshots to be database-speci
  In-Reply-To: <[email protected]>

* 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