Re: [HACKERS] IsUnderPostmaster with shared_preload_libraries on Windows

2016-06-13 Thread Joe Conway
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

Re: [HACKERS] IsUnderPostmaster with shared_preload_libraries on Windows

2016-06-13 Thread Tom Lane
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

[HACKERS] IsUnderPostmaster with shared_preload_libraries on Windows

2016-06-13 Thread Joe Conway
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. Thanks, Joe -- Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, &