"Simpson" <asimpson@i-55.com> writes:
> Yes, it does it consistently.
> Maybe I should start from scratch, if this seems very broken.
It seems not only very broken, but practically impossible: there is only
one routine that writes that file, and it definitely writes the result
of getpid(), and it is definitely not called in the stats collector
process. How did you obtain or build your copy of PG? What is the
platform exactly (you said Linux, but what release of what distro)?
regards, tom lane