pgsql: Rename logical_replication_mode to debug_logical_replication_str

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename logical_replication_mode to debug_logical_replication_str
Date: 2023-08-29 13:38:10
Message-ID: E1qayv3-001X2e-RG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)fnst(at)cn(dot)fujitsu(dot)com>
Reviewed-by: Peter Smith <smithpb2250(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/d672d774-c44b-6fec-f993-793e744f169a%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/63956bed7b10fb3bb5fe3f74250a33c9e226a921

Modified Files
--------------
doc/src/sgml/config.sgml | 12 ++++-----
.../replication/logical/applyparallelworker.c | 2 +-
src/backend/replication/logical/reorderbuffer.c | 30 +++++++++++-----------
src/backend/utils/misc/guc_tables.c | 14 +++++-----
src/include/replication/reorderbuffer.h | 10 ++++----
src/test/subscription/t/015_stream.pl | 2 +-
src/test/subscription/t/016_stream_subxact.pl | 2 +-
.../subscription/t/018_stream_subxact_abort.pl | 4 +--
.../subscription/t/019_stream_subxact_ddl_abort.pl | 2 +-
src/test/subscription/t/023_twophase_stream.pl | 4 +--
10 files changed, 41 insertions(+), 41 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2023-08-29 16:10:48 pgsql: Generate a locale-agnostic initdb template
Previous Message Daniel Gustafsson 2023-08-29 12:38:51 pgsql: Reword user-facing message for "power of two"