Commit 027c8217 authored by Martin Pitt's avatar Martin Pitt

pg_upgradecluster: Preserve the original start.conf in new cluster

parent 202a491f
postgresql-common (31) unstable; urgency=low
* Fix test suite expected output for new encoding names in libpq4 8.1.
* pg_upgradecluster: Disable automatic startup of old backup cluster in
start.conf.
* Fix start.conf handling of pg_upgradecluster:
- Disable automatic startup of old backup cluster in start.conf.
- Preserve the original start.conf in new cluster.
-- Martin Pitt <mpitt@debian.org> Sun, 6 Nov 2005 14:27:57 -0500
-- Martin Pitt <mpitt@debian.org> Sun, 6 Nov 2005 14:37:21 -0500
postgresql-common (30) unstable; urgency=high
......
......@@ -179,6 +179,11 @@ install_file $info{'configdir'}.'/pg_ident.conf', $newinfo{'configdir'},
$newinfo{'owneruid'}, $newinfo{'ownergid'}, "640";
install_file $info{'configdir'}.'/pg_hba.conf', $newinfo{'configdir'},
$newinfo{'owneruid'}, $newinfo{'ownergid'}, "640";
if ( -e $info{'configdir'}.'/start.conf') {
print "Copying old start.conf...\n";
install_file $info{'configdir'}.'/start.conf', $newinfo{'configdir'},
$newinfo{'owneruid'}, $newinfo{'ownergid'}, "644";
}
adapt_conffiles;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment