From: Stavros Karposilos <apcl79@dsl.pipex.com>
To: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: ODBC Problems
Date: Wed, 17 Jul 2002 10:45:53 +0100
Message-ID: <001401c22d76$be664740$6d1fa8c0@skarp> (raw)
I am using psqlODBC v7.2.1 to connect a Redhat 7.2 Server running PostgreSQL v7.1.3 to a Win2K client running MS Access 2K.
I have created an application which works fine for some time, but after that I get error messages which prevent me from opening and closing forms.
Once, I got the message "Could not send query to the backend" right before the same situation with the forms started.
I suspect that the driver closes the connection to the backend without informing the frontend, making the second do all weird things.
I have tried some workarounds. I used a timer to refresh the table links every 1 min, but the command --CurrentDB.TableDefs("ItemsMain").Fields.Refresh-- didn't help on solving the problem and the command --CurrentDB.TableDefs("ItemsMain").RefreshLink-- seems to work, but every time it is executed it adds 350Kbytes to the Frontend Database file. After 10min the file has become 3MB, which are empty.
Is it possible to change some settings on the driver so that the connection never closes, or to automatically reestablish the connection to the backend when closed?
This small detail is the difference between a fully working program and a useless bunch of code. I would really appreciate any help.
If this behaviour cannot change, do you have any recommendation on using another GUI frontend capable of running on Windows Boxes featuring tighter integration with PostgreSQL?
Thank you in advance,
Stavros Karposilos
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: apcl79@dsl.pipex.com
Subject: Re: ODBC Problems
In-Reply-To: <001401c22d76$be664740$6d1fa8c0@skarp>
* 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