X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BB26ED87B6 for ; Thu, 13 Oct 2005 11:05:09 -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 03283-07 for ; Thu, 13 Oct 2005 14:05:04 +0000 (GMT) Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.91]) by svr1.postgresql.org (Postfix) with ESMTP id 4AB1FD8725 for ; Thu, 13 Oct 2005 11:05:03 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Thu, 13 Oct 2005 09:04:57 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Thu, 13 Oct 2005 09:04:41 -0500 From: "Kevin Grittner" To: Cc: , Subject: Re: How to insert "date" as timestamp Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 required=5 tests=[AWL=0.003] X-Spam-Level: X-Archive-Number: 200510/59 X-Sequence-Number: 13990 Good point regarding the recent timestamp fixes, although I think they are in the dev402 jar, so one need not go to CVS and do a build. I definitely would not use timestamp without time zone even within a single time zone unless that time zone didn't use daylight saving time, or I was very confident that I didn't need to record times in the wee hours on days when the time shifted. It's always safer to use timestamp with time zone when what you want to record is an instant in time. The only use case I've been able to think of where timestamp without time zone is semantically correct is where a publisher sets a release for, say, the next Harry Potter book. Having attended a late night book release party this summer so that my kids could pick up their book as soon as 12:01 a.m. rolled into our time zone, I can see at least one use case for this data type. -Kevin >>> Roland Walter 10/13/05 3:08 AM >>> And I would use TIMESTAMP without a time zone, in the case I know all=20 database clients are in the same time zone.