Re: ecpglib use PQconnectdbParams

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: ecpglib use PQconnectdbParams
Дата
Msg-id 20120206165044.GA16393@gmail.com
обсуждение исходный текст
Ответ на Re: ecpglib use PQconnectdbParams  (Christian Ullrich <chris@chrullrich.net>)
Список pgsql-hackers
On Fri, Feb 03, 2012 at 01:15:30PM +0100, Christian Ullrich wrote:
> * Peter Eisentraut wrote:
> >I noticed ecpglib still uses PQconnectdb() with a craftily assembled
> >connection string.  Here is a patch to use PQconnectdbParams() instead.
> 
> +    const char *conn_keywords[6];
> +    const char *conn_values[6];
> 
> Shouldn't these be [7]? You can have up to 6 items, plus the terminator.

This bug is now in GIT.

-- 
marko



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: freezing multixacts
Следующее
От: Robert Haas
Дата:
Сообщение: Re: about type cast