From: Tom Lane <tgl@sss.pgh.pa.us>
To: Raj Mathur <raju@linux-delhi.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgresql going to sleep?
Date: Thu, 25 Sep 2003 20:30:23 -0400
Message-ID: <5849.1064536223@sss.pgh.pa.us> (raw)
In-Reply-To: <16243.16322.159906.61824@mail.linux-delhi.org>
References: <16243.16322.159906.61824@mail.linux-delhi.org>
Raj Mathur <raju@linux-delhi.org> writes:
> I'm consistently getting into a situation where the database client
> just goes to sleep in a query after some number of queries in quick
> succession. Using PostgreSQL 7.2.3 on Red Hat Linux 8.0. The
> postgres process shows up as ``idle in transaction'' in a ps.
In that case, the backend is waiting for input from the client.
If the client thinks it is waiting for the backend, I'd wonder about a
missing "fflush" or something like that. What client software are you
using?
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, raju@linux-delhi.org
Subject: Re: Postgresql going to sleep?
In-Reply-To: <5849.1064536223@sss.pgh.pa.us>
References: <16243.16322.159906.61824@mail.linux-delhi.org> <5849.1064536223@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