Compression on ODBC?

From: "Mark Alliban" <MarkA(at)idnltd(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Compression on ODBC?
Date: 2000-06-13 08:50:48
Message-ID: 001301bfd514$78e7c2a0$c83110ac@centauri.teledome.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have an application which dials a modem, and connects to Postgres using
ODBC. When I call the SQLExecDirect function to get the (quite large: 10000
rows) result set, it takes a long time to execute. The query itself is
indexed and runs very quickly from psql. I presume the delay is because the
ODBC is downloading all the rows. Is there any way to either:

1) Use compression on the recordset to make the call faster?
2) Download each row one at a time, when SQLFetch is called?

Also I don't seem to be able to find an ODBC function to return the number
of records in a results set. Is there one?

TIA,
Mark.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message yohan tordjman 2000-06-13 10:53:45 DBI problems with Pg
Previous Message kurt miller 2000-06-13 08:32:35 feature request