Service startup delay

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Service startup delay
Дата
Msg-id 03E7D3E231BB7B4A915A6581D4296CC6978C3D@NSNOVPS00411.nacio.xythos.com
обсуждение исходный текст
Ответы Re: Service startup delay
Список pgsql-hackers-win32
We are incorporating the win32 port into our product, and have run into a problem with the timing of the startup of the windows service.   What is happening is that we have setup a dependency between our service and the postgres service so that our service starts after the postgres one.  However this sometimes still fails, as it appears the postgres service returns control to windows before the database is actually fully started and ready to accept connections as we are getting an error in our app (org.postgresql.util.PSQLException: A connection error has occurred: org.postgresql.util.PSQLException: FATAL: the database system is starting up).  Can this be fixed?  We can hack around this in our code, but it would be nice (and I am sure others will run into this as well) if this was fixed properly in the postgres service itself.
 
thanks,
--Barry
 

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: InitDB Failure on install
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Service startup delay