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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Which header and lib files to use when compiling libpq-code?
Дата
Msg-id 6102.1240850286@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Which header and lib files to use when compiling libpq-code?  (Kynn Jones <kynnjo@gmail.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: find column OID types with information schema?
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Which header and lib files to use when compiling libpq-code?