From: | "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com> |
---|---|
To: | 'Michael Paquier' <michael(at)paquier(dot)xyz> |
Cc: | 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera from 2ndQuadrant <alvherre(at)alvh(dot)no-ip(dot)org>, 'Amit Kapila' <amit(dot)kapila16(at)gmail(dot)com>, "Haribabu Kommi" <kommi(dot)haribabu(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "Craig Ringer" <craig(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, "Pg Hackers" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | RE: [bug fix] Produce a crash dump before main() on Windows |
Date: | 2019-09-11 04:15:24 |
Message-ID: | 0A3221C70F24FB45833433255569204D1FD33764@G01JPEXMBYT05 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
From: Michael Paquier [mailto:michael(at)paquier(dot)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 runs in the service.
Regards
Takayuki Tsunakawa
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-09-11 04:45:23 | Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view? |
Previous Message | Richard Guo | 2019-09-11 03:56:33 | Re: A problem about partitionwise join |