pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wei Wei <wei725@lycos.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Calendar vs. Timestamp
Date: Tue, 11 Apr 2006 14:59:18 -0800
Message-ID: <20060411225918.2918986B12@ws7-1.us4.outblaze.com> (raw)


> > Is 8.1 driver compatible with PG 8.0? I can easily update the PG 
> > version on my development box. But, it wouldn't easy for the 
> > deployment box.
> >
> 
> Yes, the 8.1 driver is backward compatible with all server releases 
> back to 7.2.  As always it's good to test on your development box 
> first, but I don't see any problems with an upgrade.
> 

After having a 8.1 driver, the timestamp is stored correctly in the DB. So, it indeed is a bug in the 8.0 driver. 

I would like to clarify one observation. The timestamp seems only take the date section data of a calendar object regardless the value of the time zone. If so, a calendar object with a specified time zone would not make any difference in comparsion to a calendar object with the default time zone. Or, the default time zone is always used in PG.

Thanks.  

-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10




view thread (5+ messages)  latest in thread

Message-ID: <20060411225918.2918986B12@ws7-1.us4.outblaze.com>
Permalink:  ../20060411225918.2918986B12@ws7-1.us4.outblaze.com/
Also on:    postgresql.org/message-id/20060411225918.2918986B12@ws7-1.us4.outblaze.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: wei725@lycos.com, books@ejurka.com
  Subject: Re: Calendar vs. Timestamp
  In-Reply-To: <20060411225918.2918986B12@ws7-1.us4.outblaze.com>
  References: <20060411225918.2918986B12@ws7-1.us4.outblaze.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