[Pkg-postgresql-public] Bug#696138: Increase pg_ctlcluster on slow architectures

Christoph Berg myon at debian.org
Wed Dec 19 11:21:45 UTC 2012


Re: Martin Pitt 2012-12-19 <20121219095452.GD3019 at piware.de>
> Christoph Berg [2012-12-19 10:40 +0100]:
> > We could probably wait for the startup, but then exit 0 with the
> > message "cluster is still starting up".
> 
> I like that idea. It should avoid postinst failures on slow
> architectures, but in the normal case a "/etc/init.d/postgresql
> restart" should still wait until your cluster is ready to be used.

Bonus points for not waiting at all for a cluster that is configured
for warm (not hot) standby. (Though that's probably not trivial to
distinguish from a cluster that is set up for PITR on startup.)

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20121219/83dd7b07/attachment-0001.pgp>


More information about the Pkg-postgresql-public mailing list