Re: Martin Pitt 2012-12-19 <20121219095452.gd3...@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 -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature