Re: [HACKERS] logical replication launcher crash on buildfarm - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] logical replication launcher crash on buildfarm
Date
Msg-id CA+TgmoZex1PWOSkFUJeA1SsyN8cy8AKsXfkHgpNRikahqyaEWw@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] logical replication launcher crash on buildfarm  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Responses Re: [HACKERS] logical replication launcher crash on buildfarm  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Thu, Mar 16, 2017 at 5:13 AM, Petr Jelinek
<petr.jelinek@2ndquadrant.com> wrote:
> Hmm now that you mention it, I remember discussing something similar
> with you last year in Dallas in regards to parallel query. IIRC Windows
> should not have this problem but other systems with EXEC_BACKEND do.
> Don't remember the details though.

Generally, extension code can't use bgw_main safely, and must use
bgw_library_name and bgw_function_name.  But bgw_main is supposedly
safe for core code.  If it's not even safe there, then I guess we
should remove it entirely as a useless foot-gun.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Arthur Zakirov
Date:
Subject: Re: [HACKERS] postgres_fdw: support parameterized foreign joins
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Should we eliminate or reduce HUP from docs?