From: Michael Paquier [mailto:michael@paquier.xyz]
> Imagine an application which relies on Postgres, still does *not* start
> it as a service but uses "pg_ctl start"
> automatically. This could be triggered as part of another service startup
> which calls say system(), or as another script. Wouldn't that cause
> potentially a freeze?
Do you mean by "another service startup":
another service (Windows service)
-> an application (not a Windows service)
-> pg_ctl start
Then pg_ctl runs under the Windows service environment, and the popup won't appear.
> I am also not sure that I quite understand why a
> popup would never show up if a different service startup triggers pg_ctl
> start by itself that fails.
I experimented it with a sample program that I showed in this thread. A program invoked by a Windows services also
runsin the service.
Regards
Takayuki Tsunakawa