X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7682B475EB9 for ; Fri, 14 Feb 2003 16:58:55 -0500 (EST) Received: from iserver.abag.ca.gov (iserver.abag.ca.gov [198.31.87.3]) by postgresql.org (Postfix) with ESMTP id 495354761DD for ; Fri, 14 Feb 2003 16:47:53 -0500 (EST) Received: from groupwise.abag.ca.gov (groupwise.abag.ca.gov [198.31.87.26]) by iserver.abag.ca.gov (8.12.4/8.12.4) with SMTP id h1ELlso3003097 for ; Fri, 14 Feb 2003 13:47:54 -0800 (PST) Received: from D01-Message_Server by groupwise.abag.ca.gov with Novell_GroupWise; Fri, 14 Feb 2003 13:47:53 -0800 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.6.1 Date: Fri, 14 Feb 2003 13:47:45 -0800 From: "Fred Parkinson" To: , Subject: Re: record locks? Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_66391819.91F0916A" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/73 X-Sequence-Number: 2691 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_66391819.91F0916A Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Wow!! This must have been one of those quantum particle-like problems: as soon as i turned on psqlodbc loggiing to look closely at the problem, it= vanished!!!!! Thanks a LOT for your help. Fred Parkinson Association of Bay Area Governments >>> "Tambet Matiisen" 02/14/03 08:10AM >>> You can turn on the psqlodbc logging by yourself. Just open Control Panel -> Administrative Tools -> Data Sources (ODBC), find your DSN and click Configure. Tambet ----- Original Message ----- From: Fred Parkinson To: t.matiisen@aprote.ee ; pgsql-odbc@postgresql.org Sent: Thursday, February 13, 2003 11:04 PM Subject: Re: [ODBC] record locks? Thanks for responding, clearly i should have been more specific in my description of the problem. The linked table is a table, created in postgres with the CREATE TABLE command. I am trying to update boolean fields through check boxs in Access datesheet view, and also through bound controls on forms. I can insert a record through the Access datasheet view by typing a value into the key field in the '*' record (the 'add new record' record) After that I can successfully update fields only if i do so before i leave that record. After that, any other changes I try to make to the data, for example check a check box to update a boolean field, i get the "the record has been changed by another user..." message and changes are dropped. I can make updates to the table subsequently only if i execute sql commands with the Access execute function. Since that form of update works, executing a sql query in access, the system is correctly locating records by the key field value. When I ran the odbc driver install i unchecked the 'bool as char' box. I am actually doing no explicit record locking, No one else is locking the record because we are testing a new system in a very small development community (2 developers) and the other person is not here! When our postgres/unix administrator returns i will ask him to turn on psqlodbc logging to see what postgres thinks of attempts to update the fields through bound Access controls and the Access datasheet view. Thanks for your help with this matter! Fred Parkinson --=_66391819.91F0916A Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Description: HTML
Wow!! This must have been one of those quantum particle= -like=20 problems:
as soon as i turned on psqlodbc loggiing to look closel= y at=20 the problem, it vanished!!!!!
 
Thanks a LOT for your help.
 
Fred Parkinson
Association of Bay Area Governments


>>> "Tambet Matiisen" <tambet.matiisen@mail.ee>= =20 02/14/03 08:10AM >>>
You can turn on the psqlodbc logging by=20 yourself. Just open Control Panel ->
Administrative Tools -> Data= =20 Sources (ODBC), find your DSN and click
Configure.

 =20 Tambet

----- Original Message -----
From: Fred Parkinson
To:= =20 t.matiisen@aprote.ee ; pgsql-odbc@postgresql.org
Sent: Thursday, Februar= y 13,=20 2003 11:04 PM
Subject: Re: [ODBC] record locks?


Thanks for=20 responding, clearly i should have been more specific in my
description o= f the=20 problem.

The linked table is a table, created in postgres with the C= REATE=20 TABLE
command.
I am trying to update boolean fields through check box= s in=20 Access datesheet
view, and also through bound controls on forms.

= I can=20 insert a record through the Access datasheet view by typing a value
into= the=20 key field in the '*' record
(the 'add new record' record)
After that = I can=20 successfully update fields only if i do so before i leave
that=20 record.
After that, any other changes I try to make to the data, for exa= mple=20 check a
check box to
update a boolean field, i get the "the record ha= s=20 been changed by another
user..." message and changes are dropped.
I c= an=20 make updates to the table subsequently only if i execute sql commands
wi= th=20 the Access execute function.
Since that form of update works, executing = a sql=20 query in access, the system
is correctly locating records by the key fie= ld=20 value.

When I ran the odbc driver install i unchecked the 'bool as c= har'=20 box.

I am actually doing no explicit record locking,

No one e= lse=20 is locking the record because we are testing a new system in a
very smal= l=20 development community (2 developers) and the other person is=20 not
here!

When our postgres/unix administrator returns  i wi= ll=20 ask him to turn on
psqlodbc logging to see what postgres thinks of attem= pts=20 to update the
fields through bound Access controls and the Access datash= eet=20 view.

Thanks for your help with this matter!

Fred=20 Parkinson

--=_66391819.91F0916A--