Re: libpq's pollution of application namespace
William ZHANG <uniware@zedware.org>
From: "William ZHANG" <uniware@zedware.org>
To: pgsql-hackers@postgresql.org
Date: 2005-10-21T02:36:14Z
Lists: 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