Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id B6EAD9FB1C0 for ; Tue, 16 Jan 2007 20:07:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 28435-04 for ; Tue, 16 Jan 2007 20:06:55 -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 E1C5D9FA1FD for ; Tue, 16 Jan 2007 20:07:04 -0400 (AST) Received: (qmail 25170 invoked from network); 17 Jan 2007 09:06:29 +0900 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.170) by sd2.tpf-fw-c.co.jp with SMTP; 17 Jan 2007 09:06:29 +0900 Message-ID: <45AD6881.1010205@tpf.co.jp> Date: Wed, 17 Jan 2007 09:06:25 +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> <45A95CC5.8030401@tpf.co.jp> <8390489.post@talk.nabble.com> In-Reply-To: <8390489.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/31 X-Sequence-Number: 8570 ANJANE wrote: > 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. You can't create tables and use them safely in stored procedures unless you treat them via EXECUTE commands.. regards, Hiroshi Inoue