Re: timed PgConnection::Connect

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timed PgConnection::Connect
Дата
Msg-id 15216.1028728325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на timed PgConnection::Connect  (Denis A Ustimenko <denis@oldham.ru>)
Ответы Re: timed PgConnection::Connect  (Denis A Ustimenko <denis@oldham.ru>)
Список pgsql-patches
Denis A Ustimenko <denis@oldham.ru> writes:
> I write this to put timeout parameter in PgConnection::Connect.

This patch seems really messy.  In the first place, the timeout isn't on
total connection delay, but on individual waits of which there will be
several.  I'd think that's not really what you want.  In the second
place, I'd expect a timeout to be specified as a new optional parameter
in connection strings, not as an ad-hoc additional parameter in the API.

            regards, tom lane

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: current_database()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: current_database()