X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B529CD1CAE0 for ; Tue, 4 Nov 2003 14:22:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 10344-01 for ; Tue, 4 Nov 2003 10:22:18 -0400 (AST) Received: from gk-us2.michelin.com (unknown [156.65.14.19]) by svr1.postgresql.org (Postfix) with ESMTP id A77C9D1CAE2 for ; Tue, 4 Nov 2003 10:22:10 -0400 (AST) Received: from ONCMH1.onc.michelin.com (unverified) by gk-us2.michelin.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Tue, 4 Nov 2003 09:16:38 -0500 Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Tue, 4 Nov 2003 09:19:45 -0500 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id HNTZX000.D3R for ; Tue, 4 Nov 2003 09:22:12 -0500 Received: from us.michelin.com (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Tue, 4 Nov 2003 09:22:12 -0500 Message-Id: <3FA7B611.B13EE8F7@us.michelin.com> Date: Tue, 04 Nov 2003 09:22:09 -0500 From: "Greg Campbell" X-Mailer: Mozilla 4.77 [en]C-CCK-MCD (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: tech@murrain.net Cc: pgsql-odbc@postgresql.org Subject: Re: Access, ODBC and "other users" References: <1067904672.2648.151.camel@grizzly.ursa-minor.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/21 X-Sequence-Number: 3423 My first guess has to do with transactioning. Are you using any type of explicit transactions (BeginTrans) that might not have committed or rolled back, while your overnight script was changing the data? Michelle Murrain wrote: > > We have an interesting problem with Access and ODBC. We have a fairly > complex application, all tables and such are on Postgres. 1/2 the > application is an Access front end (for nice reporting and some data > entry) and 1/2 of the application is a web front end (for "public" > access to some of the data, and interfaces for some remote > administration. There is an overnight script that runs that updates a > couple of tables (some detailed calculations that just take too long to > do on the fly). After this script runs, Access then doesn't let anyone > update the table, because "another user has modified the data". > > However, as far as pg is concerned the same exact user has changed data, > the user used in the ODBC driver connection is the same user that's used > both on the web end, and in the overnight script. > > Is there a way to tell Access to ignore this? Are there ways around this > that anyone can think of, short of 1) relinking the table every morning > or 2) creating a new table just for the calculation results? > > -- > .Michelle > --------------------------- > Michelle Murrain > mmurrain@dbdes.com > Database Designs Associates, Inc. > Boston 617.889.0929 > Amherst 413.253.2874 > Cell 413.222.6350 > www.dbdes.com > > AIM:pearlbear0 ICQ:129250575 > > "Our capacity to make peace with another person and with the world > depends very much on our capacity to make peace with ourselves." -- Thich Nhat Hanh > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly