pgsql: pg_createsubscriber: reword dry-run log messages

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_createsubscriber: reword dry-run log messages
Date: 2025-10-31 17:50:48
Message-ID: E1vEtGy-004QUA-0q@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_createsubscriber: reword dry-run log messages

The original messages were confusing in dry-run mode in that they state
that something is being done, when in reality it isn't. Use alternative
wording in that case, to make the distinction clear.

Author: Peter Smith <smithpb2250(at)gmail(dot)com>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Reviewed-by: Euler Taveira <euler(at)eulerto(dot)com>
Backpatch-through: 18
Discussion: https://postgr.es/m/CAHut+PsvQJQnQO0KT0S2oegenkvJ8FUuY-QS5syyqmT24R2xFQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2648eab3779b0204368f785f9df84de01270e537

Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 111 +++++++++++++--------
src/bin/pg_basebackup/t/040_pg_createsubscriber.pl | 6 +-
2 files changed, 75 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-11-01 17:26:05 pgsql: Fix contrib/ltree's subpath() with negative offset.
Previous Message Álvaro Herrera 2025-10-31 17:08:25 pgsql: pg_createsubscriber: Fix error complaining about the wrong thing