Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id D14369FB32B for ; Sat, 13 Jan 2007 18:27:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 20167-07 for ; Sat, 13 Jan 2007 18:27:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id BFE369FB32A for ; Sat, 13 Jan 2007 18:27:21 -0400 (AST) Received: (qmail 10179 invoked from network); 14 Jan 2007 07:27:18 +0900 X-Authentication: inoue was authenticated by smtp.tpf.co.jp at 14 Jan 2007 07:27:18 +0900 Received: from unknown (HELO ?192.168.11.3?) (219.61.40.6) by smtp.tpf.co.jp with SMTP; 14 Jan 2007 07:27:18 +0900 Message-ID: <45A95CC5.8030401@tpf.co.jp> Date: Sun, 14 Jan 2007 07:27:17 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: ANJANE CC: pgsql-odbc@postgresql.org Subject: Re: ODBC error References: <8315925.post@talk.nabble.com> In-Reply-To: <8315925.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/21 X-Sequence-Number: 8560 ANJANE wrote: > I am executing a procedure that returns data from a temp table created. > Sometimes the query works at the first attempt, but fails on subsequent > attempts. It is intermittent. Leaving some time between queries, it works > fine. > > Basically, in my query, I do some joins of tables, load the data to a temp > table and return all the data from the temp table via a cursor to the user. > I drop the temp table if it exists at the beginning. > It doesn't seem a problem of the odbc driver. Please try it via psql and see the result. regards, Hiroshi Inoue