Peter Eisentraut writes:
>> I don't see much value in fixing this just for libreadline (and even
>> less in fixing it by disabling readline support entirely). I think I
>> recall Peter E. having mentioned that there'd be a better answer in
>> autoconf 2.50 ... so I'm inclined not to touch the pro
> It is my understanding that having them there causes no bloat in the
> binary. No symbols are resolved in those libs.
>>
>> Perhaps not, but the postgres binary then becomes dependent on those
>> libs being available (if they're shared).
> Good point.
Autoconf has a bad habit of putting all
Bruce Momjian writes:
>> I realize this is a sort of special-purpose request. It's not a big
>> deal to build the whole thing, then just relink src/backend/postgres
>> without those libs. It just feels dirty to have them there when they
>> aren't needed.
>>
>
>It is my understanding that having
When Postgres is configured and decides to use libncurses and
libreadline, the backend gets linked against those two libs, too, even
though it really doesn't use them. This is just extra wasted size and
(if they're shared libs) dependencies you don't need.
I made this ultra-cheesy change to src/