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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

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