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