Add more LOG and DEBUG messages for slot synchronization.
authorAmit Kapila <akapila@postgresql.org>
Fri, 16 Feb 2024 03:32:54 +0000 (09:02 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 16 Feb 2024 03:32:54 +0000 (09:02 +0530)
commit7a424ece4828fa107f36e1c77985eabdbe69e50b
tree1f30100fd4058a0b3687177c7bd04b7446278de6
parent1fe66680c09b6cc1ed20236c84f0913a7b786bbc
Add more LOG and DEBUG messages for slot synchronization.

This provides more information about remote slots during synchronization
which helps in debugging bugs and BF failures due to test case issues. We
might later want to change the LOG message added by this patch to DEBUG1.

Author: Hou Zhijie
Reviewed-by: Amit Kapila, Bertrand Drouvot
Discussion: https://postgr.es/m/514f6f2f-6833-4539-39f1-96cd1e011f23@enterprisedb.com
Discussion: https://postgr.es/m/OS0PR01MB571633C23B2A4CAC5FB0371A944C2@OS0PR01MB5716.jpnprd01.prod.outlook.com
src/backend/replication/logical/slotsync.c