Re: PGDLLIMPORT: patch or not to patch

2021-07-01 Thread Craig Ringer
On Wed, 30 Jun 2021 at 04:49, Tom Lane wrote: > George Tarasov writes: > > So, my questions are there any rules / descriptions / agreements inside > > the PostgreSQL Project that define which global variables inside a core > > code should by specified by a PGDLLIMPORT and which should not?? Or >

Re: PGDLLIMPORT: patch or not to patch

2021-06-29 Thread Tom Lane
George Tarasov writes: > So, my questions are there any rules / descriptions / agreements inside > the PostgreSQL Project that define which global variables inside a core > code should by specified by a PGDLLIMPORT and which should not?? Or > there is freedom; you need this variable in the exte

PGDLLIMPORT: patch or not to patch

2021-06-29 Thread George Tarasov
Dear all! (comment: my question relates only to the development area; so, please, re-post to pgsql-hackers if it is allowed). I use PostgreSQL under Windows quiet often and make my own builds in msys2/mingw64 environment. Also I often experiments with the different third-party extensions fro