X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 49BBB9DD600 for ; Fri, 9 Dec 2005 07:41:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66370-02-2 for ; Fri, 9 Dec 2005 07:41:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 92E539DCC35 for ; Fri, 9 Dec 2005 07:40:57 -0400 (AST) Received: (from luf@localhost) by smtp.pzkagis.cz (8.11.6/8.11.6) id jB9BewC12161; Fri, 9 Dec 2005 12:40:58 +0100 Date: Fri, 9 Dec 2005 12:40:58 +0100 From: Ludek Finstrle To: Dave Page Cc: pgsql-odbc@postgresql.org Subject: Re: SQLTables don't stop Message-ID: <20051209114058.GA12145@soptik.pzkagis.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/113 X-Sequence-Number: 6592 > > > *However*, whilst testing I did find an issue with SQLTables that > > > seems surprisingly similar to the one you fixed before. It's pretty > > > easy to recreate in the Microsoft test suite. > > > > I didn't fix something similar. I don't remember it at least. Could > > you be more specific? I only point at Prepare, Execute, Execute or > > ExecDirect, ExecDirect problem. > > There was a fix for SQLTables where Declare/Fetch messed things up for > Borland SQL Explorer/BDE by duplicating rows. Yes. I didn't think it's problem. But maybe it is. > > > - Connect to a data source with Declare/Fetch enabled. > > > - SQLExecDirect "SELECT * FROM pg_class" > > > - Get Data All (from the results menu) > > > - SQLTables > > > - Get Data All > > > > > > It never stops retrieving data! Seems that you need to do the > > > SQLExecDirect first - SQLExecute doesn't trigger the problem. > > > SQLColumns is similarly affected - perhaps there are more as well. > > > > I'm unable reproduce it here. I have CVS source with > > autocommit_off patch. > > It stops when I expect. > > Odd. You forgot say that you setup cache size to 10 :-) That's the difference. I read it from log. So I'm able to reproduce the problem now. Regards, Luf