Re: Martin Pitt 2012-12-17 <20121217070817.gb2...@piware.de> > Package: postgresql-common > Version: 129 > > >From IRC ping: > > [19:17:48] hi, while you're working on postgresql-common: is it possible for > it to wait more than one minute on slow arches such as m68k, avr32, sh4, etc? > > This needs some thinking as I don't quite like a complex arch → > timeout lookup table, but more than a minute is quite excessive on > architectures which are realistically being used as a database server.
Do we need to wait for a successful connect at all? If the cluster happens to be recovering, that could take an arbitrary amount of time. Wouldn't waiting for the pid file be enough? We could probably wait for the startup, but then exit 0 with the message "cluster is still starting up". Christoph -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature