[Pkg-postgresql-public] Common init script

Martin Pitt mpitt at debian.org
Fri Mar 17 13:39:37 UTC 2006

Hi Peter!

Peter Eisentraut [2006-03-17 10:17 +0100]:
> I'm thinking wouldn't it be better if there were only a single init 
> script /etc/init.d/postgresql (probably put into postgresql-common) that was 
> responsible for clusters of all versions?  There is hardly a use case for, 
> say, restarting exactly all clusters of a particular version.

The use case I thought of was an upgrade of e. g. postgresql-7.4, when
you don't want a downtime for postgresql-8.1. Of course this could be
done by circumventing the init script, so I'm open to the idea.

> Incidentally, a way to restart a specific cluster only would be nice to have.

There is :) 

  pg_ctlcluster <version> <cluster> restart

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

In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20060317/e25f5ef6/attachment.pgp

More information about the Pkg-postgresql-public mailing list