From: Tom Lane <tgl@sss.pgh.pa.us>
To: Frankie Lam <frankie@ucr.com.hk>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Any timeout feature(in libPQ) suitable for my case?
Date: Mon, 10 Feb 2003 23:35:43 -0500
Message-ID: <21915.1044938143@sss.pgh.pa.us> (raw)
In-Reply-To: <b29s2v$2nlu$1@news.hub.org>
References: <b29s2v$2nlu$1@news.hub.org>
"Frankie Lam" <frankie@ucr.com.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, frankie@ucr.com.hk
Subject: Re: Any timeout feature(in libPQ) suitable for my case?
In-Reply-To: <21915.1044938143@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox