Re: Chris Lamb 2013-01-25 <20130125140817.16c72aa3@seriouscat.config> > The -R support was added in #657204 but Cody's patch didn't include the > sleep 5 - is it necessary? > > If it is necessary, please could you comment in the initscript why it > is - I can remove it and it appears to work but I may be introducing > some race condition (similar to #641568).
A sidenote here, wheezy will still have the "sleep 5". You should be able to remove it completely, the online restart will usually succeed in less than 100ms. A fixed package that also waits for the online restart to succeed is available in experimental and on apt.postgresql.org (see https://wiki.postgresql.org/wiki/Apt). Christoph -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature