>Some time ago I changed the pg_stat_temp directory from /var/lib/pgsq/whatever to /tmpHave you checked the postgres log to see if there are any errors about it not being able to write to the pg_stat_temp dir?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных