Re: access/parallel.h lacks PGDLLIMPORT - Mailing list pgsql-hackers

From Robert Haas
Subject Re: access/parallel.h lacks PGDLLIMPORT
Date
Msg-id CA+TgmoZDnSXR4hwniFC2dJTGSTU8v0Gm3477JBP8v-BnQkNiuw@mail.gmail.com
Whole thread Raw
In response to Re: access/parallel.h lacks PGDLLIMPORT  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: access/parallel.h lacks PGDLLIMPORT
List pgsql-hackers
On Tue, Dec 19, 2017 at 3:36 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> I also think it is good to allow ParallelWorkerNumber to be used in
> extensions.  Attached is the patch for same.  I think for other two we
> should wait till there is really a good use case for them.

I think waiting for a "really good" use case is too high a bar.  I
think we only need to think that there is a "reasonable" use case.
Accordingly, I pushed a commit adding PGDLLIMPORT to both
ParallelWorkerNumber and InitializingParallelWorker.

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


pgsql-hackers by date:

Previous
From: David Steele
Date:
Subject: Re: MemoryContextCreate change in PG 11 how should contexts becreated
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] parallel.c oblivion of worker-startup failures