Re: [HACKERS] What is the best and easiest implementation to reliably wait for the completion of startup?

2011-05-27 Thread MauMau
From: "Tom Lane" "MauMau" writes: The bad thing is that pg_ctl continues to wait until the specified duration passes, even if postgres fails to start. For example, it is naturally desirable for pg_ctl to terminate when postgresql.conf contains a syntax error. Hmm, I thought we'd fixed this

Re: [HACKERS] What is the best and easiest implementation to reliably wait for the completion of startup?

2011-05-27 Thread Tom Lane
"MauMau" writes: > The bad thing is that pg_ctl continues to wait until the specified duration > passes, even if postgres fails to start. For example, it is naturally > desirable for pg_ctl to terminate when postgresql.conf contains a syntax > error. Hmm, I thought we'd fixed this in the last

[HACKERS] What is the best and easiest implementation to reliably wait for the completion of startup?

2011-05-27 Thread MauMau
Hello, I've encountered a problem of PostgreSQL startup, and I can think of a simple solution for that. However, I don't yet have much knowledge about PostgreSQL implementation, I'd like to ask you about what is the best and easiest solution. If it is easy for me to work on during my spare tim