Re: pg13 PGDLLIMPORT list - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg13 PGDLLIMPORT list
Date
Msg-id 20200118022610.GA230692@paquier.xyz
Whole thread Raw
In response to pg13 PGDLLIMPORT list  (legrand legrand <legrand_legrand@hotmail.com>)
Responses Re: pg13 PGDLLIMPORT list  (Amit Kapila <amit.kapila16@gmail.com>)
Re: pg13 PGDLLIMPORT list  (legrand legrand <legrand_legrand@hotmail.com>)
List pgsql-hackers
On Fri, Jan 17, 2020 at 03:07:48PM -0700, legrand legrand wrote:
> Would it be possible to add PGDLLIMPORT to permit to build following
> extensions on windows
>
> pg_stat_sql_plans:
> src/include/pgstat.h
> extern PGDLLIMPORT bool pgstat_track_activities;
>
> pg_background:
> src/include/storage/proc.h
> extern PGDLLIMPORT int    StatementTimeout;

No objections from me to add both to what's imported.  Do you have a
specific use-case in mind for an extension on Windows?  Just
wondering..
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Amcheck: do rightlink verification with lock coupling
Next
From: Michael Paquier
Date:
Subject: Re: Expose lock group leader pid in pg_stat_activity