bricklen <bricklen@gmail.com> writes:
> Assuming your stats_temp_directory is pg_stat_tmp, where is that directory
> located? Under $PGDATA?
> What is the path to $PGDATA?
> If your stats_temp_directory is located on a small partition, that could be
> a problem
> Where is your pg_xlog dir located?
The given error message is definitely complaining about being unable to
write a pg_xlog file --- stats or other temp files are not relevant.
regards, tom lane