Re: [patch] build issues on Win32

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dag-Erling Smørgrav <des@des.no>
Cc: pgsql-hackers@postgresql.org
Date: 2010-03-10T16:17:11Z
Lists: pgsql-hackers
=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> "Dag-Erling Smrgrav" <des@des.no> writes:
>>> 1. PostgreSQL's private versions of inet_aton etc. can conflict with
>>> similar functions in other libraries (in my case, PostgreSQL's
>>> inet_aton conflicts with libavformat's).

>> So what?  We don't link with those libraries.

> Your users might need to link with both.

We don't support linking the backend into other applications.  If you're
complaining about libpq, the right thing for that is to use a platform
that can suppress non-exported symbols from a shared library.  Maybe
what we need to do is teach the mingw build path how to respect the
exports list for libpq?

			regards, tom lane