Re: Issue with libpq < 8.4

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Issue with libpq < 8.4
Дата
Msg-id 4C73B9CF.9010006@lelarge.info
обсуждение исходный текст
Ответ на Re: Issue with libpq < 8.4  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Issue with libpq < 8.4  (Magnus Hagander <magnus@hagander.net>)
Список pgadmin-hackers
Le 24/08/2010 14:05, Magnus Hagander a écrit :
> On Tue, Aug 24, 2010 at 2:01 PM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>> Le 24/08/2010 13:51, Dave Page a écrit :
>>> On Tue, Aug 24, 2010 at 12:48 PM, Magnus Hagander <magnus@hagander.net>
>>> wrote:
>>>> Actually, what happens if we try to use PQconnect() with
>>>> applicaiton_name on an older version? I assume it fails, and not just
>>>> works and ignores it?
>>>
>>> iirc, yes.
>>>
>>
>> We have this in the log:
>>
>> FATAL:  unrecognized configuration parameter "application_name"
>>
>> And then it connects.
>>
>> At least with a 9.0 libpq and a 8.3.0 PostgreSQL server.
>
> Yeah, the interesting thing would be an 8.3 libpq, if you just throw
> it the connection string and don't try to use PQparseconnInfo().
>

It fails. If the user has a 8.3 libpq, we should not send the
application_name connection parameter.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

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

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Cleanup some inconsistencies in the VC++ project fi
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Issue with libpq < 8.4