pgsql: Remove duplicated log related to slot creation in pg_createsubsc

Started by Michael Paquier9 months ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(-)