git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: de2b384) | patch
Add facility to copy replication slots
Fri, 5 Apr 2019 17:52:45 +0000 (14:52 -0300)
Fri, 5 Apr 2019 21:05:18 +0000 (18:05 -0300)
commit 9f06d79ef831ffa333f908f6d3debdb654292414
Add facility to copy replication slots

This allows the user to create duplicates of existing replication slots,
either logical or physical, and even changing properties such as whether
they are temporary or the output plugin used.

There are multiple uses for this, such as initializing multiple replicas
using the slot for one base backup; when doing investigation of logical
replication issues; and to select a different output plugins.

Author: Masahiko Sawada
Reviewed-by: Michael Paquier, Andres Freund, Petr Jelinek
Discussion: https://postgr.es/m/CAD21AoAm7XX8y_tOPP6j4Nzzch12FvA1wPqiO690RCk+uYVstg@mail.gmail.com
contrib/test_decoding/expected/slot.out diff | blob | blame | history
contrib/test_decoding/sql/slot.sql diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
src/backend/replication/logical/logical.c diff | blob | blame | history
src/backend/replication/slotfuncs.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_proc.dat diff | blob | blame | history
src/include/replication/logical.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /