pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: pg@fastcrypt.com
Cc: Dario V. Fassi <software@sistemat.com.ar>
Cc: Greg Markham <gmarkham@markhamdirect.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Timestamp Question
Date: Mon, 12 Jul 2004 02:51:53 +1200
Message-ID: <40F15409.5030102@opencloud.com> (raw)
In-Reply-To: <1089552466.11544.311.camel@localhost.localdomain>
References: <40F012E4.3000001@markhamdirect.com>
	<40F02556.1070109@sistemat.com.ar>
	<1089552466.11544.311.camel@localhost.localdomain>

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



view thread (14+ messages)  latest in thread

Message-ID: <40F15409.5030102@opencloud.com>
Permalink:  ../40F15409.5030102@opencloud.com/
Also on:    postgresql.org/message-id/40F15409.5030102@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, pg@fastcrypt.com, software@sistemat.com.ar, gmarkham@markhamdirect.com
  Subject: Re: Timestamp Question
  In-Reply-To: <40F15409.5030102@opencloud.com>
  References: <40F012E4.3000001@markhamdirect.com> <40F02556.1070109@sistemat.com.ar> <1089552466.11544.311.camel@localhost.localdomain> <40F15409.5030102@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox