Received: from smtp.pandora.be (hercules.telenet-ops.be [195.130.132.33]) by hub.org (8.9.3/8.9.3) with SMTP id PAA23555 for ; Tue, 29 Feb 2000 15:57:42 -0500 (EST) (envelope-from Willy.DelaCourt@pandora.be) Received: (qmail 25885 invoked from network); 29 Feb 2000 20:57:39 -0000 Received: from unknown (HELO stargate.speedy.home) ([195.130.137.182]) (envelope-sender ) by hercules.telenet-ops.be (qmail-ldap-1.03) with SMTP for ; 29 Feb 2000 20:57:39 -0000 Received: from daffy (DAFFY.speedy.home [192.168.1.30]) by stargate.speedy.home (8.9.3/8.9.3) with SMTP id VAA08688 for ; Tue, 29 Feb 2000 21:57:44 +0100 Received: by localhost with Microsoft MAPI; Tue, 29 Feb 2000 21:58:40 +0100 Message-ID: <01BF8300.23525460.Willy.DelaCourt@pandora.be> From: Willy De la Court To: "pgsql-interfaces@postgreSQL.org" Subject: Serious problem with the odbc driver and VFP Date: Tue, 29 Feb 2000 21:58:39 +0100 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit After byron fixed the odbc driver to version 0009 I could use foxpro perfectly with small tables. Now another problem surfaces. I think the guys that wrote VFP only had microsoft SQL server in mind because when using the vfp interface to create views they frequently use SQLPREPARE "SELECT * FROM TABLE" and then use SQLNumResultCols to get a result. For small tables this is no problem but if you have a multi megabyte table with about 50000 records in you do have a problem. SQLPREPARE works OK but when VFP executes SQLNumResultCols directly after the Prepare the odbc driver submits the "SELECT * FROM TABLE" to the backend effectively executing the query. Result is 2 minutes waiting time and sometimes memory error on the backend. Any ideas how to solve this problem.