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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 08e6344) | patch
Allow setting failover property in the replication command.
2024年1月29日 03:40:00 +0000 (09:10 +0530)
2024年1月29日 04:07:23 +0000 (09:37 +0530)
commit 73292404370c9900a96e2bebdc7144f7010339cf
Allow setting failover property in the replication command.

This commit implements a new replication command called
ALTER_REPLICATION_SLOT and a corresponding walreceiver API function named
walrcv_alter_slot. Additionally, the CREATE_REPLICATION_SLOT command has
been extended to support the failover option.

These new additions allow the modification of the failover property of a
replication slot on the publisher. A subsequent commit will make use of
these commands in subscription commands and will add the tests as well to
cover the functionality added/changed by this commit.

Author: Hou Zhijie, Shveta Malik
Reviewed-by: Peter Smith, Bertrand Drouvot, Dilip Kumar, Masahiko Sawada, Nisha Moond, Kuroda, Hayato, Amit Kapila
Discussion: https://postgr.es/m/514f6f2f-6833-4539-39f1-96cd1e011f23@enterprisedb.com
13 files changed:
doc/src/sgml/protocol.sgml diff | blob | blame | history
src/backend/commands/subscriptioncmds.c diff | blob | blame | history
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c diff | blob | blame | history
src/backend/replication/logical/tablesync.c diff | blob | blame | history
src/backend/replication/repl_gram.y diff | blob | blame | history
src/backend/replication/repl_scanner.l diff | blob | blame | history
src/backend/replication/slot.c diff | blob | blame | history
src/backend/replication/walreceiver.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
src/include/nodes/replnodes.h diff | blob | blame | history
src/include/replication/slot.h diff | blob | blame | history
src/include/replication/walreceiver.h diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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