Re: pg_stat_bgwriter broken?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_stat_bgwriter broken?
Date: 2010-11-15 00:35:57
Message-ID: 18027.1289781357@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Smith <greg(at)2ndquadrant(dot)com> writes:
> The way you've explained it now, I see why it's not worth adding a
> specific regression test for this in the future, and what else I should
> have checked when I ran into my problem (that other system stats views
> were also working or not).

FWIW, I wouldn't object to a test that somehow exercised the specific
functionality of the view; I was just dubious that there was any value
in the sort of test you were suggesting. We found ways to exercise the
table-counter stuff in a sufficiently reproducible way for the stats
test --- can you do something similar here?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2010-11-15 01:02:46 Re: CommitFest 2010-11: Call for Reviewers
Previous Message Tom Lane 2010-11-15 00:27:50 Re: Count backend self-sync calls