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 541C5D1B8EC for ; Wed, 5 Nov 2003 08:15:20 +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 90816-06 for ; Wed, 5 Nov 2003 04:14:50 -0400 (AST) Received: from Tux.reetec.de (unknown [62.206.144.94]) by svr1.postgresql.org (Postfix) with ESMTP id 0E048D1B58E for ; Wed, 5 Nov 2003 04:14:32 -0400 (AST) Received: from henry ([192.168.65.212]) by Tux.reetec.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id hA58ELl18637; Wed, 5 Nov 2003 09:14:21 +0100 From: "Henry Alfke" To: "Steve Crawford" , "Greg Campbell" , Cc: Subject: Re: Access, ODBC and "other users" Date: Wed, 5 Nov 2003 09:13:34 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <200311041505.55413.scrawford@pinpointresearch.com> Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/28 X-Sequence-Number: 3430 I had the the same problem using Access form / linked pg tables now it works with an default at the boolean field for example the column nocalc ALTER TABLE public.awork ALTER COLUMN nocalc DEFAULT false; AND don't use a timestamptz field in your Access select statement ALTER TABLE public.awork ADD COLUMN log_time timestamptz; ALTER TABLE public.awork ALTER COLUMN log_time DEFAULT "timestamp"('now'::text); perhaps it helps moin, henry -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org]On Behalf Of Steve Crawford Sent: Wednesday, November 05, 2003 12:06 AM To: Greg Campbell; tech@murrain.net Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] Access, ODBC and "other users" > Michelle Murrain wrote: > > We have an interesting problem with Access and ODBC. ... > Access then doesn't let anyone update the table, because > > "another user has modified the data". On Tuesday 04 November 2003 6:22 am, Greg Campbell wrote: > 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? No, it's one of many oddities in Access/ODBC. Even on a small PG table used by only one person we see this in Access. We haven't figured it out, yet, but we know it doesn't occur on all tables. Our solution will probably be to just phase out Access as we did with MSSQL but if we figure it out I'll post the info. Cheers, Steve ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org