pgsql: Add a bit of debug logging to backend_read_statsfile().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a bit of debug logging to backend_read_statsfile().
Date: 2011-08-10 20:46:02
Message-ID: E1QrFf8-0006zM-LH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add a bit of debug logging to backend_read_statsfile().

This is in hopes of learning more about what causes "pgstat wait timeout"
warnings in the buildfarm. This patch should probably be reverted once
we've learned what we can. As coded, it will result in regression test
"failures" at half the delay that the existing code does, so I expect
to see a few more than before.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/79b2ee20c8a041a85dd230c4e787bef22edae57b

Modified Files
--------------
src/backend/postmaster/pgstat.c | 29 +++++++++++++++++++++++++----
1 files changed, 25 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-08-10 22:51:04 pgsql: Remove wal_sender_delay GUC, because it's no longer useful.
Previous Message Tom Lane 2011-08-10 16:27:12 pgsql: Change the autovacuum launcher to use WaitLatch instead of a pol