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-gb...@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(-)
