Skip site navigation (1) Skip section navigation (2)

Question about refresh

From: László Tibor <ltibor(at)mail(dot)tiszanet(dot)hu>
To: "pgsql-odbc" <pgsql-odbc(at)postgresql(dot)org>
Subject: Question about refresh
Date: 2001-04-03 15:17:37
Message-ID: NEBBJDDFALKDHFBLCGCPEEINCAAA.ltibor@mail.tiszanet.hu (view raw or flat)
Thread:
Lists: pgsql-odbc
I have problems with the driver and ODBCExpress (a Delphi
package to handle ODBC drivers without BDE). I use OEDataSet,
a component from the package with C++Builder.

Sometimes the component shows other field values than the
driver know. One example:

There is a result set showed to the user. The user changes a
record, then the component try to post it to the server. The
server throws an exception, so nothing have done on the server.
The user sees the wrong data. It's OK, he might correct the
error. Then he cancels the edit, so the component should
refresh the field values from the driver. But after refresh
we can see the wrong data, not the original! Manual refresh
won't help.

When I turn the component level caching, the problem disappeared.
So the promlem lies in the communication between the driver and
the component. I posted the problem to the ODBCExpress list, but
they insist the bug shuld be in the driver. I don't know. I
think the driver is quite good :-) I have no source for
ODBCExpress and I don't know the ODBC API. The component caching
is a good workaround, but what if I can't afford the cache?

Have you any comments? Could this problem related to ODBC API
level or any other mysterious levels?

Regards,

Tibor Laszlo
ltibor(at)mail(dot)tiszanet(dot)hu


pgsql-odbc by date

Next:From: Tomas FulajtarDate: 2001-04-04 12:09:49
Subject: Recognize unique indexes
Previous:From: Johann ZuschlagDate: 2001-04-02 16:43:27
Subject: Re: Re.:ODBC changes about parameter handling

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group