From: Mattias Kregert <mattias@kregert.se>
To: Eric <hehe88hk@yahoo.com.hk>
To: pgsql-general@postgresql.org
Subject: Re: Error message
Date: Wed, 10 Mar 2004 12:18:37 +0100
Message-ID: <008601c40691$741d0520$09000a0a@kregert.se> (raw)
References: <f2ccb7a1.0403030757.2d75b90c@posting.google.com>
This is in Tcl, right?
You are creating queries without clearing the result handles. Make sure you always clear the result handles after getting the data. I noticed this problem too when I upgraded to latest version of Tcl, where the number of open handles are limited. When I found that bug and fixed it, my app suddenly stopped its bad habit of slowly eating up memory and slowing down... :)
/Mattias
----- Original Message -----
From: "Eric" <hehe88hk@yahoo.com.hk>
To: <pgsql-general@postgresql.org>
Sent: Wednesday, March 03, 2004 4:57 PM
Subject: [GENERAL] Error message
> Hello.
>
> After I have performed several queries by an external program on the
> database, an error message appeared:
> "hard limit on result handles reached is not a valid query result"
>
> May I know how to solve the problem?
> Thank you
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
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-general@postgresql.org
Cc: mattias@kregert.se, hehe88hk@yahoo.com.hk
Subject: Re: Error message
In-Reply-To: <008601c40691$741d0520$09000a0a@kregert.se>
References: <f2ccb7a1.0403030757.2d75b90c@posting.google.com> <008601c40691$741d0520$09000a0a@kregert.se>
* 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