pgsql: Add more LOG and DEBUG messages for slot synchronization.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add more LOG and DEBUG messages for slot synchronization.
Date: 2024-02-16 03:41:27
Message-ID: E1rap6N-006Sgb-9Z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7a424ece4828fa107f36e1c77985eabdbe69e50b

Modified Files
--------------
src/backend/replication/logical/slotsync.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2024-02-16 04:52:50 pgsql: Change the LOG level in 040_standby_failover_slots_sync.pl to DE
Previous Message Amit Kapila 2024-02-16 02:59:38 Re: pgsql: Allow upgrades to preserve the full subscription's state.