On Thu, Nov 24, 2016 at 11:01 PM, Magnus Hagander <[email protected]> wrote: > On Thu, Nov 24, 2016 at 2:58 PM, Craig Ringer <[email protected]> wrote: > My guess is that PGDLLIMPORT has been added explicitly when somebody needed > it for something, without any actual thought. I can't say I see any reason > not to export the other ones as well -- more that maybe there are even more > that are needed?
Yes, more or less. The reasoning behind at least the PostmasterPID bit is that: https://www.postgresql.org/message-id/CAB7nPqS_=14krcdch6nyrsw8c58j1cwxv6qcvs7yp-6tthq...@mail.gmail.com That resulted in cac83219. The other ones could perhaps be marked with PGDLLIMPORT. Now usually we need a use-case behind this change, and there are not that many hackers on Windows doing much plugin development. -- Michael -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
