Skip site navigation (1) Skip section navigation (2)

Re: Any timeout feature(in libPQ) suitable for my case?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Frankie Lam" <frankie(at)ucr(dot)com(dot)hk>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Any timeout feature(in libPQ) suitable for my case?
Date: 2003-02-11 04:35:43
Message-ID: 21915.1044938143@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfaces
"Frankie Lam" <frankie(at)ucr(dot)com(dot)hk> writes:
> I wonder if there is a timeout feature for limiting the lifetime of a
> connection in libPQ.

There is not.  I don't think it's libpq's business to be deciding
whether the connection is lost or not --- that is the province of
the kernel's TCP stack.  IMHO we should not second-guess the transport
layer.

			regards, tom lane

In response to

pgsql-interfaces by date

Next:From: Matthew VanecekDate: 2003-02-11 04:50:11
Subject: Re: Connection Error message in ECPG
Previous:From: Frankie LamDate: 2003-02-11 03:53:39
Subject: Any timeout feature(in libPQ) suitable for my case?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group