Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> But shouldn't the minor-version bump between 7.3 and 7.4 libpq.so
>> have prevented the dynamic linker from accepting the 7.3 libpq.so as
>> the one to use? I thought the rule was "same major version as
>> requested, minor version >= requested".
> Maybe, but the directory search order comes first. If a compatible
> library is found, it is used, no matter whether "better" compatible
> library files are available in other directories that are searched
> later.
But it shouldn't have been considered compatible, period. I am
wondering if the psql executable was misbuilt to specify that it wanted
libpq >= 3.0, rather than >= 3.1 as it should have said.
regards, tom lane