I have installed Postgresql94 using zypper and I would like to change the data directory. I alraedy have a database, so I would like to migrate it to the new location and then change the location in the postgresql configuration.

I Have tried to make the change, but I was unable to manage to restart postgres server again.