> d) How can we insure that the ipc-daemon service starts before the
> postgres/postmaster service? I believe that NT has some facility that
> allows one service to request start-up of another service, but I have
> no idea how to make that happen.
You can use Service Dependencies for this. In you call to CreateService()
for the service, specify a value for the "lpDependencies" parameter. This
parameter holds a pointer to a double null-terminated array of
null-separated names of services that this service depends on. The Service
Control Manager will make sure these services start first, so the
dependencies are satisfied.
So just add the ipc-daemon service there, and the rest should happen
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2001-01-27 16:03:10|
|Subject: Re: plan for running postmaster directly as NT service |
|Previous:||From: Kovacs Zoltan||Date: 2001-01-27 15:44:35|
|Subject: Re: wrong query plan in 7.1beta3|