http://archives.postgresql.org/pgsql-committers/2006-08/msg00410.php
Should this be removed again now?
The actual fix should be
http://archives.postgresql.org/pgsql-committers/2006-08/msg00504.php,
and per
http://archives.postgresql.org/pgsql-hackers/2006-08/msg01920.php it
seems to have solved the problem?
(It does log the error for pgstat.stat on every single server startup,
which is why I noticed it....)
//Magnus