]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Log more info when wait-for-catchup tests time out.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Aug 2024 17:18:36 +0000 (13:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Aug 2024 17:18:36 +0000 (13:18 -0400)
commite57296ed4867b3a3734db9ca621223c30eebb90d
tree5860511b8bfe8fbc2a210a49e569e51cf3dccab5
parentaed881386aa6a6a542e46d14d3505e4e6f9310a0
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
src/test/perl/PostgreSQL/Test/Cluster.pm