This is fixed in the more recent postgresql-common versions: postgresql-common (80) unstable; urgency=low [...] * PgCommon.pm: Fix cluster_data_directory() to consider the data_directory setting in postgresql.conf, which should trump the /pgdata symbolic link. [...]
For your case, just either change the pgdata symbolic link, or remove it entirely, so that the data_directory setting in postgresql.conf becomes active. Non-default locations work fine, and postgresql-common has test cases to ensure that this feature does not regress. ** Changed in: postgresql (Ubuntu) Status: New => Fix Released -- postgresql server cannot shut down and cannot restart https://bugs.launchpad.net/bugs/172840 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs