[Pkg-postgresql-public] Bug#681344: Bug#681344: Bug#681344: postgresql-common: pg_upgradecluster should use pg_ctlcluster stop --force to shut down the cluster

Martin Pitt mpitt at debian.org
Wed Jul 25 05:09:37 UTC 2012


Hello Martin,

Martin von Wittich [2012-07-21 22:16 +0200]:
> >That seems okay, but rather redundant. You can always pg_ctlcluster
> >--force stop the cluster yourself before upgrading. Keeping bug open
> >to add it to pg_upgradecluster.
> 
> I can? AFAIR that didn't work. I can't test it at the moment because
> I don't have a VM with postgres 8.3 ready, but the code seems to
> agree:
> 
> error 'specified cluster is not running' unless $info{'running'};

Oh, indeed. We are doing a few calls to it to find out the DB encoding
and other bits, but I suppose that could be rearranged after
re-starting it with restricted connections.

Thanks,

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



More information about the Pkg-postgresql-public mailing list