Compression on ODBC? - Mailing list pgsql-general

From Mark Alliban
Subject Compression on ODBC?
Date
Msg-id 001301bfd514$78e7c2a0$c83110ac@centauri.teledome.com
Whole thread Raw
List 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.



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: rules on INSERT can't UPDATE new instance?
Next
From: "chongmc"
Date:
Subject: c compiler cannot create executables