Re: Add PGDLLIMPORT lines to some variables - Mailing list pgsql-hackers

From Brian Cloutier
Subject Re: Add PGDLLIMPORT lines to some variables
Date
Msg-id CAJCy68cs0oHLp0o5PSEEUQBNkcwrTpFPvxeQcxCRoBo8oZxMgw@mail.gmail.com
Whole thread Raw
In response to Re: Add PGDLLIMPORT lines to some variables  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Add PGDLLIMPORT lines to some variables  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
please, append session_timezone to your list

Here's a v2 patch which also includes session_timezone.

Separately, is this the kind of thing which is eligible for backporting into the next releases of 9.6 and 10?

On Thu, Nov 16, 2017 at 10:27 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
Hi

2017-11-16 23:59 GMT+01:00 Brian Cloutier <brian@citusdata.com>:
Hello hackers,

I'm porting Citus to Windows and found that we use some variables which PG doesn't export; here is a patch which adds PGDLLIMPORT declarations to those variables. This is unfortunately required on Windows for extensions to be able to use those variables, and appears to already have been done to quite a few other variables.

please, append session_timezone to your list

Regards

Pavel


Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Using isatty() on WIN32 platform
Next
From: Andres Freund
Date:
Subject: Re: Add PGDLLIMPORT lines to some variables