I use Ubuntu 12.04, postgresql 9,1 postgis 1.5. I want to change database location. I use instruction http://www.whiteboardcoder.com/2012/04/change-postgres-datadirectory-folder.html The only difference is that I do not use postgres account for changing file /etc/postgresql/9.1/main/postgresql.conf
When I resatrt postgresql i have error:
Error: pid file is invalid
This error exists in the bug tracker https://tickets.opscode.com/browse/COOK-3618
How can I change the database location?