pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fred Parkinson <FredP@abag.ca.gov>
To: tambet.matiisen@mail.ee
To: pgsql-odbc@postgresql.org
Subject: Re: record locks?
Date: Fri, 14 Feb 2003 13:47:45 -0800
Message-ID: <se4cf389.062@groupwise.abag.ca.gov> (raw)

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" <tambet.matiisen@mail.ee> 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

view thread (5+ messages)

Message-ID: <se4cf389.062@groupwise.abag.ca.gov>
Permalink:  ../se4cf389.062@groupwise.abag.ca.gov/
Also on:    postgresql.org/message-id/se4cf389.062@groupwise.abag.ca.gov

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: FredP@abag.ca.gov, tambet.matiisen@mail.ee
  Subject: Re: record locks?
  In-Reply-To: <se4cf389.062@groupwise.abag.ca.gov>
  References: <se4cf389.062@groupwise.abag.ca.gov>

* 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