From d198572f238d4ca5c79e5b53013a5affa2a3d9bd Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 20 Mar 2015 08:52:14 +0100 Subject: setup: don't set default pgdata blindly * postgresql-setup.in (service_configuration): Move the setting of pgdata into sysvinit-only branch. * NEWS: Document fixed bug. * configure.ac: Bump version to 3.2. --- NEWS | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 20240df..42267d2 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Bugfixes in 3.2 version + +* Fix regression of setting the default pgdata variable for non-default + unit names. This broke --new-systemd-unit option and --initdb, because + the postgresql-setup logic tried to create the data directory on the + same place as the _default_ unit stores data (instead of explicitly + asking for --datadir option). + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + New in 3.1 version * When doing --upgrade, postgresql-setup now guards against upgrading when -- cgit