"Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu> writes:
> The problematic line is "0 written" --
What's your point? Those stats are correct for the current process (or
if not, better take it up with your kernel vendor) and we've never
stated that they are anything else than process-local stats. In every
version of Postgres it's been possible that pages dirtied by one process
are actually written by some other process --- the bgwriter isn't doing
anything except altering the probabilities a bit.
regards, tom lane