pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Willy De la Court <Willy.DelaCourt@pandora.be>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: Serious problem with the odbc driver and VFP
Date: Tue, 29 Feb 2000 21:58:39 +0100
Message-ID: <01BF8300.23525460.Willy.DelaCourt@pandora.be> (raw)

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.





view thread (2+ messages)  latest in thread

Message-ID: <01BF8300.23525460.Willy.DelaCourt@pandora.be>
Permalink:  ../01BF8300.23525460.Willy.DelaCourt@pandora.be/
Also on:    postgresql.org/message-id/01BF8300.23525460.Willy.DelaCourt@pandora.be

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: Willy.DelaCourt@pandora.be
  Subject: Re: Serious problem with the odbc driver and VFP
  In-Reply-To: <01BF8300.23525460.Willy.DelaCourt@pandora.be>
  References: <01BF8300.23525460.Willy.DelaCourt@pandora.be>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox