Re: timed PgConnection::Connect

Поиск
Список
Период
Сортировка
От Denis A Ustimenko
Тема Re: timed PgConnection::Connect
Дата
Msg-id 20020809094857.GB1210@denis.oldham.ru
обсуждение исходный текст
Ответ на Re: timed PgConnection::Connect  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Hi!

Here is rewrited version. Time out can be specified as "connect_timeout" parameter. API hadn't changed.

On Wed, Aug 07, 2002 at 09:52:05AM -0400, Tom Lane wrote:
> 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

--
Regards
Denis

Вложения

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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: CREATE TEMP TABLE .... ON COMMIT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: adding PGPASSWORDFILE to libpq