Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 189B79FB350 for ; Tue, 16 Jan 2007 10:02:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 96889-10 for ; Tue, 16 Jan 2007 10:02:24 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by postgresql.org (Postfix) with ESMTP id 1C4A39FB34E for ; Tue, 16 Jan 2007 10:02:29 -0400 (AST) Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H6otN-00045r-9n for pgsql-odbc@postgresql.org; Tue, 16 Jan 2007 06:02:25 -0800 Message-ID: <8390489.post@talk.nabble.com> Date: Tue, 16 Jan 2007 06:02:25 -0800 (PST) From: ANJANE To: pgsql-odbc@postgresql.org Subject: Re: ODBC error In-Reply-To: <45A95CC5.8030401@tpf.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: softwaredesigns@hotmail.com References: <8315925.post@talk.nabble.com> <45A95CC5.8030401@tpf.co.jp> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.161 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_HOTMAIL_RCVD2, SPF_HELO_PASS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200701/27 X-Sequence-Number: 8566 As I said the query works intermittently. Whenever it fails, I get the following error message ..select tp_get_clientusers('1','S%', 'rcursor');fetch all in rcursor; Microsoft OLE DB Provider for ODBC Drivers error '80004005' Error while executing the query; ERROR: pg_class_aclcheck: relation 6017860 not found /portal/testdb.asp, line 82 the relation oid keeps changing. Not sure what this means. Sreyams Hiroshi Inoue wrote: > > 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 > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > > -- View this message in context: http://www.nabble.com/ODBC-error-tf2971825.html#a8390489 Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.