Log more info when wait-for-catchup tests time out.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2aecbd752616aa664f32b3c1804732e475def7cc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-08-12T17:18:36Z
Releases: 18.0
Log more info when wait-for-catchup tests time out.

Cluster.pm's wait_for_catchup and allied subroutines don't provide
enough information to diagnose the problem when a wait times out.
In hopes of debugging some intermittent buildfarm failures, let's
dump the ending state of the relevant system view when that happens.

Add this to v17 too, but not stable branches.

Discussion: https://postgr.es/m/352068.1723422725@sss.pgh.pa.us

Files

PathChange+/−
src/test/perl/PostgreSQL/Test/Cluster.pm modified +23 −4

Discussion