Re: Building Postgresql under Windows question

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Building Postgresql under Windows question
Дата
Msg-id 49F75C07.6000208@dunslane.net
обсуждение исходный текст
Ответ на Re: Building Postgresql under Windows question  ("Dann Corbit" <DCorbit@connx.com>)
Ответы Re: Building Postgresql under Windows question  ("Dann Corbit" <DCorbit@connx.com>)
Re: Building Postgresql under Windows question  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-hackers

Dann Corbit wrote:
> Pg_ctl.exe is exiting with a success code from line 1946 of PG_CTL.C
>
> This is not appropriate behavior for a service unless shutdown has been
> requested.
>   

pg_ctl calls *StartServiceCtrlDispatcher*(). It can only get to the line 
you mention when called as a service after that call returns. MSDN states:

"If *StartServiceCtrlDispatcher* succeeds, it connects the calling 
thread to the service control manager and does not return until all 
running services in the process have entered the SERVICE_STOPPED state."

So it appears that something is causing your service to enter that state.

cheers

andrew





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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Keyword list sanity check
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: Building Postgresql under Windows question