Re: Issue with libpq < 8.4

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Issue with libpq < 8.4
Дата
Msg-id AANLkTi=_xiib0fhHdQ9RqhWvQUXii4-w=+H883iObMh8@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Issue with libpq < 8.4  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Issue with libpq < 8.4  (Magnus Hagander <magnus@hagander.net>)
Список pgadmin-hackers
On Tue, Aug 24, 2010 at 12:20 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
>
> Can't we just have it set a variable we could check with a #ifdef? We
> don't use PQconninfoParse in many files (actually, two). So it would be
> pretty easy to add the #ifdef line, so that it won't be a big issue for
> packagers.

We use PQconninfoParse to check to ensure we have a new enough libpq
to use application_name, so we can avoid sending it with older libpqs.
If we disable the check for older libpqs, then we'll always get an
error with them. The only way to fix that would be to only allow a 9.0
libpq to be used.

The current code at least allows 8.4 and 9.0 libpqs.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Issue with libpq < 8.4
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Issue with libpq < 8.4