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 A6F76D1B257 for ; Sun, 11 Jul 2004 11:52:34 -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 39929-04 for ; Sun, 11 Jul 2004 14:52:38 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 57DEDD1B18C for ; Sun, 11 Jul 2004 11:52:29 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Bjfgr-0001MM-00; Mon, 12 Jul 2004 02:52:29 +1200 Message-ID: <40F15409.5030102@opencloud.com> Date: Mon, 12 Jul 2004 02:51:53 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pg@fastcrypt.com Cc: "Dario V. Fassi" , Greg Markham , "pgsql-jdbc@postgresql.org" Subject: Re: Timestamp Question References: <40F012E4.3000001@markhamdirect.com> <40F02556.1070109@sistemat.com.ar> <1089552466.11544.311.camel@localhost.localdomain> In-Reply-To: <1089552466.11544.311.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/91 X-Sequence-Number: 10475 Dave Cramer wrote: > the real question is where do you get microsecond values from in java, > and are they real? You get them out of a database, or you compute them, or the user enters them, or you get them from another system. And so on. Dealing with sub-millisecond precision is a perfectly reasonable thing to be doing. java.sql.Timestamp already supports this. > In other words, if you are getting system time in > microseconds ( if that's even possible ) it will take you a few more > microseconds to insert it. What does system time have to do with this? -O