Christophe Chauvet wrote:
> Hi Dave
>
> The only solution i see to beat this problem is to add a delay before connect to the PostgreSQL
> Database with a new option (for exemple -d).
>
> options
> -d <delay> Add delay (in second) before connect to the database.
>
> pgAgent INSTALL pgAgent -d 10 -u postgres ....
>
> What do you think about this ?
I expect to fix the problem properly in PostgreSQL tomorrow - I'm just
finishing off a patch to pg_ctl that implements the -w (wait) option in
pg_ctl when run in service mode. This will ensure that it doesn't reportthe service as running until recovery has
completedand connections are
possible.
Regards, Dave