Re: CI/windows docker vs "am a service" autodetection on windows - Mailing list pgsql-hackers

From Andres Freund
Subject Re: CI/windows docker vs "am a service" autodetection on windows
Date
Msg-id 20210907184925.4z2vb2fptngwf7zb@alap3.anarazel.de
Whole thread Raw
In response to Re: CI/windows docker vs "am a service" autodetection on windows  (Ranier Vilela <ranier.vf@gmail.com>)
List pgsql-hackers
Hi,

On 2021-08-15 11:25:01 -0300, Ranier Vilela wrote:
> I found this function on the web, from OpenSSL, but I haven't tested it.
> I think that there is one more way to test if a service is running
> (SECURITY_INTERACTIVE_RID).

I don't think that really addresses the issue. If a service starts postgres
somewhere within, it won't have SECURITY_INTERACTIVE_RID, but postgres isn't
quite running as a service nevertheless. I think that's the situation in the
CI case that triggered me to look into this.

Regards,

Andres



pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: prevent immature WAL streaming
Next
From: Tom Lane
Date:
Subject: Re: Correct handling of blank/commented lines in PSQL interactive-mode history