reassign 509050 postgresql-common 94
thanks

Hello Simon,

Simon Waters [2008-12-17 20:51 +0000]:
> Stopping target cluster...
> Stopping old cluster...
> pg_ctl: postmaster does not shut down

> Probably obvious to more experienced Postgres admins. Should the
> documentation recommend disabling all clients, or should the script
> check and be more aggressive closing down the database? 

I think the right solution here would be to stop the server as first
step of pg_upgradecluster, temporarily reconfigure it to only allow
connections as the DB superuser ('postgres'), and immediately abort if
it does not shutdown.

Also, the pg_upgradecluster manpage should mention that all clients
should be disconnected, but I still would like to add above code
change, just to be on the safe side.

Thanks for noticing and reporting that!

> Either way I'm very impressed, I've had far more difficult upgrades
> of very expensive proprietary databases.

Thanks! :-)

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to