summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-09-22 16:12:45 +0200
committerPavel Raiskup <praiskup@redhat.com>2015-09-22 18:17:40 +0200
commitcfbcc14c3264ef73f510baee1120de0351d1ab6d (patch)
tree5b064644d4cb49117e4f871709b7677ea5986fcd /NEWS
parent9cea22e1d0501f749e6d2a3140892f74f05dc2df (diff)
downloadpostgresql-setup-cfbcc14c3264ef73f510baee1120de0351d1ab6d.tar.gz
postgresql-setup-cfbcc14c3264ef73f510baee1120de0351d1ab6d.tar.xz
postgresql-setup-cfbcc14c3264ef73f510baee1120de0351d1ab6d.zip
postgresql-setup: fix upgrade bug with non-default unit names
We can't always use '$upgradefrom_id' as "default" previous service name. This broken in-place upgrades with '--unit postgresqlPORT' (old style service files layout) or 'postgresql@port'. Now, by default, use the same service name for both older and newer PG stack. While we are on it, make it a bit more automatic and pick 'postgresql92@second' as "older stack" if upgrading into unit 'postgresql93@second'. Add new option --upgrade-from-unit which allows us to override default decision. * postgresql-setup.in: Set 'option_upgradefrom_unit' to hopefully correct default. Add new info message in case we are not upgrading from differently named unit. (USAGE_STRING): Document new --upgrade-from-unit option. (service_configuration): Don't fork based on $mode and simply use fourth parameter as 'service'. Fix the debug message a bit. (long_opts): Add new option upgrade-from-unit. * NEWS: Document.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d402ac2..989a308 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,14 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Bugfixes in 3.4 version
+
+* Fix upgrade for non-standard unit names with --unit option.
+
+* Add --upgrade-from-unit option which allows proper selection of
+ predecessor service name (when the default detection does not help).
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
Bugfixes in 3.3 version
* The PGPORT/PGOPTS/.. variables should be correctly forwarded down from