Re: libpq's pollution of application namespace
Neil Conway <neilc@samurai.com>
From: Neil Conway <neilc@samurai.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Martijn van Oosterhout <kleptog@svana.org>, pgsql-hackers@postgresql.org
Date: 2005-10-18T18:43:11Z
Lists: pgsql-hackers
On Mon, 2005-17-10 at 13:32 -0400, Tom Lane wrote: > I dislike portability approaches that try to enumerate supported cases, > rather than being general in the first place. Do we need to have this on every platform we support? The symbols we want to hide are internal by convention anyway -- using a linker script or similar technique just improves upon this by preventing applications from misbehaving (and it also improves performance slightly). If no one has bothered to add support for a particular platform's linker they won't get these benefits, but that doesn't seem like a disaster. -Neil