Re: Difference between insert a tuple in a table by function and by datasheet - Mailing list pgsql-odbc

From Dariusz Pietrzak
Subject Re: Difference between insert a tuple in a table by function and by datasheet
Date
Msg-id Pine.LNX.4.10.10106221020230.20834-100000@ajax.umcs.lublin.pl
Whole thread Raw
In response to Difference between insert a tuple in a table by function and by datasheet  (DI Hasenöhrl <i.hasenoehrl@aon.at>)
List pgsql-odbc


> I have the following situation: ( I use MsAccess97 as frontend, ODBC 7.1.0003)
> I insert tuples in a table with a plpgsql-function, called in a form via VBA-code. It works fine, but I can't update
thesetuples in datasheet view. ERROR: an other user has changed in the meantime.....but I'm the only. 
> When I insert tuples via datasheet view, I can update these tuples, but only these.
 Answer to that is actually in a FAQ.
Try setting 'row versioning' in your ODBC source, and remember to overload
'=' operator for int4 and xid. You'll find implementation in the FAQ.
 Oh, and maybe someone knows - when in access I do 'refresh linked tables'
it's very very slow, and doesen't work the way I want ( ie - when I
changed say 'row versioning' in driver acces won't notice until I delete
and re-add linked tables).

--
Dariusz Pietrzak
Certified Nobody


pgsql-odbc by date:

Previous
From: "Henshall, Stuart - WCP"
Date:
Subject: RE: Difference between insert by a function and per hand
Next
From: "Henshall, Stuart - WCP"
Date:
Subject: RE: Difference between insert by a function and per hand