Kynn Jones <kynnjo@gmail.com> writes:
> On Mon, Apr 27, 2009 at 11:10 AM, Martijn van Oosterhout
> <kleptog@svana.org>wrote:
>> In general you don't need to match the server version, the protocol
>> hasn't changed much in a while so as long as it's less than a few years
>> old it'll work.
> This statement contradicts the experience I described in my original post:
> the choice of header and/or library files is absolutely critical. The wrong
> choice lead to very bizarre connection failures.
What that probably means is you picked a header file that didn't match
the libpq.so shared library version. Martijn's statement that libpq
is insensitive to the *server* version is generally correct.
regards, tom lane