Thanks for the post, that solved my postgresql server errors

This part didn't work for me:

/etc/init.d/postgresql restart

...but a reboot did the job.