Hi Andrus.
I had a similar problem a long time ago with an earlier psqlODBC driver version.
I can't remember exactly which of the following solved the problem:
- Install PostgreSQL 64 bits in 64 bits Windows (and always use 32 bits psqlODBC driver to access the database from VFP);
- Set the UseDeclareFetch parameter in your psqlODBC connection to 0 or 1 (and test which of them works better for your scenario).
psqlODBC parameters reference:
https://odbc.postgresql.org/docs/config.htmlHope that it helps.
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd