Re: Millisecond-precision connect_timeout for libpq - Mailing list pgsql-hackers

From Cédric Villemain
Subject Re: Millisecond-precision connect_timeout for libpq
Date
Msg-id 201307081913.39070.cedric@2ndquadrant.com
Whole thread Raw
In response to Re: Millisecond-precision connect_timeout for libpq  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-hackers
Le lundi 8 juillet 2013 18:40:29, David E. Wheeler a écrit :
> On Jul 8, 2013, at 7:44 AM, ivan babrou <ibobrik@gmail.com> wrote:
> >> Can you tell me why having ability to specify more accurate connect
> >> timeout is a bad idea?
> >
> > Nobody answered my question yet.
>
> From an earlier post by Tom:
> > What exactly is the use case for that?  It seems like extra complication
> > for something with little if any real-world usefulness.
>
> So the answer is: extra complication.

for something that must go through a pooler anyway.
You can have a look at pgbouncer: query_wait_timeout parameter for example.

--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [PERFORM] In progress INSERT wrecks plans on table
Next
From: Josh Berkus
Date:
Subject: Re: Improving avg performance for numeric