Rename logical_replication_mode to debug_logical_replication_streaming
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 29 Aug 2023 13:15:54 +0000 (15:15 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 29 Aug 2023 13:19:56 +0000 (15:19 +0200)
commit63956bed7b10fb3bb5fe3f74250a33c9e226a921
tree3e3de96cfc63bc7b1c1addca137f8ee872f6cfd1
parentf347ec76e2a227e5c5b5065cce7adad16d58d209
Rename logical_replication_mode to debug_logical_replication_streaming

The logical_replication_mode GUC is intended for testing and debugging
purposes, but its current name may be misleading and encourage users to make
unnecessary changes.

To avoid confusion, renaming the GUC to a less misleading name
debug_logical_replication_streaming that casual users are less likely to mistakenly
assume needs to be modified in a regular logical replication setup.

Author: Hou Zhijie <houzj.fnst@cn.fujitsu.com>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/d672d774-c44b-6fec-f993-793e744f169a%40eisentraut.org
doc/src/sgml/config.sgml
src/backend/replication/logical/applyparallelworker.c
src/backend/replication/logical/reorderbuffer.c
src/backend/utils/misc/guc_tables.c
src/include/replication/reorderbuffer.h
src/test/subscription/t/015_stream.pl
src/test/subscription/t/016_stream_subxact.pl
src/test/subscription/t/018_stream_subxact_abort.pl
src/test/subscription/t/019_stream_subxact_ddl_abort.pl
src/test/subscription/t/023_twophase_stream.pl