Re: libpq's pollution of application namespace - Mailing list pgsql-hackers

From William ZHANG
Subject Re: libpq's pollution of application namespace
Date
Msg-id dj9k6o$csn$1@news.hub.org
Whole thread Raw
In response to libpq's pollution of application namespace  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Martijn van Oosterhout wrote:
> AIUI, we *do* limit the symbols for Windows (for libpq anyway, see
> exports.txt file) we just don't for UNIX since it can't be done
> portably. I posted a patch to -patches which does it for Linux and in
> principle any platform using GCC but there's no consensus on whether we
> should do it if it can't be done for everyone in a simple way.

Now I understand the problem. We can not find a portable way to do it.
But we can support GCC now, then add support for other compilers.
As time goes on, we can finally solve it.

Regards, William Zhang





pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: [GENERAL] 'a' == 'a '
Next
From: Andrew Dunstan
Date:
Subject: Re: [GENERAL] 'a' == 'a '