]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove duplicated log related to slot creation in pg_createsubscriber
authorMichael Paquier <michael@paquier.xyz>
Thu, 9 Oct 2025 05:02:24 +0000 (14:02 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 9 Oct 2025 05:02:24 +0000 (14:02 +0900)
commit8d02f49696d81b1641412c2f4545403de37faadc
tree1fbb146cddd980a00a7daa22071643b1f2943f3f
parent96b37849734673e7c82fb86c4f0a46a28f500ac8
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
src/bin/pg_basebackup/pg_createsubscriber.c