[ADMIN] Question on start server using PG_CTL

2009-08-03 Thread Mark Steben
Hi folks, were running Postgres 8.2.5 and Linux Redhat. I run a cron script to start our server using pg_ctl after I copy the data cluster over from a replicated server. To test the start success / failure I test for the presence of postmaster.pid in the cluster. This weekend, the server started s

Re: [ADMIN] Question on start server using PG_CTL

2009-08-03 Thread Tom Lane
"Mark Steben" writes: > Is it possible that, during startup, postmaster.pid takes a second or two to > be created and hadn't been created yet when the test was run? It's not instantaneous, for sure. For one thing, the kernel could be scheduling the postmaster at lower priority than the continue