summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-03-20 11:51:49 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-03-20 11:58:52 +0100
commitd529834d22549b48c54546d1fa463b93a0859025 (patch)
tree10018c9342c66d18bfef424b7c3485cc25dbc050 /NEWS
parentd95bc9eaaf44776349c05a44d42f3b84e574d936 (diff)
downloadpostgresql-setup-3.2.tar.gz
postgresql-setup-3.2.tar.xz
postgresql-setup-3.2.zip
setup: enhance --new-systemd-unitv3.2
Do not left created dropin directory in case of some initdb failure, or so. This allow user run the same --new-systemd-unit repeatedly without changing the command-line. * postgresql-setup.in (exit_handler): New exit callback wrapper. ($cleanup_dropin): Code to be executed to clean drop-in directory. (generate_systemd_dropin): Fill $cleanup_dropin callback. (initdb): Clean $cleanup_dropin in case of successful initdb. This is not needed for upgrade() because we never create drop-ins there. * NEWS: Document changes.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 42267d2..d4dc148 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,10 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+New in 3.1 version
+
+* The --new-systemd-unit option now cleans the recently created drop-in
+ directory if something goes wrong.
+
Bugfixes in 3.2 version
* Fix regression of setting the default pgdata variable for non-default