On 2014-02-01 21:04:44 -0500, Tom Lane wrote: > Andres Freund <and...@2ndquadrant.com> writes: > > I don't know why it didn't fail for postgres_fdw. Hm, maybe it's because > > Mkvcbuild.pm links postgres_fdw with libpq, but not test_shm_mq? > > Hard to see how libpq as such could have anything to do with it. > I wonder though if adding libpq causes some different link-time > switch to be used. If so, could we arrange to use that switch > all the time, and thus get rid of the need for PGDLLIMPORT marks?
Well, not because of libpq itself, but because it causes a def file to be used. I am not sure how they are autogenerated, but it might already cause. I fortunately have forgotten most of that uglyness. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers