Search Postgresql Archives

Re: Which header and lib files to use when compiling libpq-code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kynn Jones <kynnjo@xxxxxxxxx> writes:
> On Mon, Apr 27, 2009 at 11:10 AM, Martijn van Oosterhout
> <kleptog@xxxxxxxxx>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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux