pgsql: Remove duplicated log related to slot creation in pg_createsubsc - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove duplicated log related to slot creation in pg_createsubsc
Date
Msg-id E1v6inY-000n2N-1Z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove duplicated log related to slot creation in pg_createsubscriber

The creation of a replication slot done in a specific database on a
publisher was logged twice, with the second log not mentioning the
database where the slot creation happened.  This commit removes the
information logged after a slot has been successfully created, moving
the information about the publisher from the second to the first log.
Note that failing a slot creation is also logged, so there is no loss of
information.

Author: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/CAHut+Pv7qDvLbDgc9PQGhULT3rPXTxdu_=w+iW-kMs+zPADR+w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d02f49696d81b1641412c2f4545403de37faadc

Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Add "ALL SEQUENCES" support to publications.
Next
From: Richard Guo
Date:
Subject: pgsql: Remove unnecessary include of "utils/fmgroids.h"