On 06/13/2016 01:57 PM, Tom Lane wrote:
> Joe Conway writes:
>> Is it expected that IsUnderPostmaster is true during postmaster startup
>> in an extension's _PG_init() when preloading under Windows? On Linux it
>> is false at this point AFAICT.
>
> AFAIK it will be false in the *postmaster's* exe
Joe Conway writes:
> Is it expected that IsUnderPostmaster is true during postmaster startup
> in an extension's _PG_init() when preloading under Windows? On Linux it
> is false at this point AFAICT.
AFAIK it will be false in the *postmaster's* execution of _PG_init().
But keep in mind that on Wi