X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 848E2D1B18C for ; Thu, 1 Jul 2004 18:41:16 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03568-06 for ; Thu, 1 Jul 2004 21:41:15 +0000 (GMT) Received: from fed1rmmtao01.cox.net (fed1rmmtao01.cox.net [68.230.241.38]) by svr1.postgresql.org (Postfix) with ESMTP id DE1ECD1B495 for ; Thu, 1 Jul 2004 18:41:09 -0300 (ADT) Received: from toolsmythes01 ([68.104.237.49]) by fed1rmmtao01.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with SMTP id <20040701214112.ZDKA6456.fed1rmmtao01.cox.net@toolsmythes01> for ; Thu, 1 Jul 2004 17:41:12 -0400 Reply-To: From: "John Pagakis" To: Subject: Issue with now() within a transaction in pg74.213.jdbc.jar Date: Thu, 1 Jul 2004 14:47:02 -0700 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.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.9 tagged_above=0.0 required=5.0 tests=BANG_QUOTE, RCVD_IN_SORBS X-Spam-Level: ** X-Archive-Number: 200407/5 X-Sequence-Number: 10389 Most of my tables have a last update date and during some testing in Postgres 7.4.1 I noticed that the last_update date was slightly in the past for anything updated within a transaction. The amount it is off by seems to vary: as little as 30 seconds; as much as a couple of minutes. Tables updated outside of a transaction seem to have an accurate timestamp. If I setAutoCommit(true) instead of setAutoCommit(false) and comment out my commit/rollbacks, the timestamp is accurate. Within a transaction, it is as though I have set the WayBack machine for a random trip 1/2 - 2 minutes back in time. I am using pg74.213.jdbc.jar. Is there a more current driver? Has anyone else noticed this? Is anyone looking at it? __________________________________________________________________ John Pagakis Email: ih8spam_thebfh@toolsmythe.com remove the ih8spam_ and you'll find me "I don't know the meaning of the word surrender! I mean I know it, I'm not dumb, just not in this context." -- The Tick This signature generated by ... and I Quote!!(tm) Copyright (c) 1999 SpaZmodic Frog Software, Inc. www.spazmodicfrog.com