pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Siegmar <o.siegmar@vitrado.de>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problems with infinity
Date: Fri, 4 Feb 2005 11:11:22 +0100
Message-ID: <200502041111.22381.o.siegmar@vitrado.de> (raw)
In-Reply-To: <Pine.BSO.4.56.0501250333160.27017@leary.csoft.net>
References: <200501131419.00993.o.siegmar@vitrado.de>
	<200501210907.45214.o.siegmar@vitrado.de>
	<Pine.BSO.4.56.0501250333160.27017@leary.csoft.net>

On Tuesday 25 January 2005 09:35, Kris Jurka wrote:
> On Fri, 21 Jan 2005, Oliver Siegmar wrote:
> > > Well, no one seems to have any better ideas, how about a better place
> > > for the infinity constants.  org.postgresql.jdbc2.TimestampUtils is not
> > > a public interface.  PGStatement?
> >
> > I vote for PGStatement :-)
>
> I was getting ready to apply this patch when I decided to add a couple
> more tests and I'm getting a failure for getDate() that I do not have time
> at the momemnt to investigate.  Could you take a look at the attached
> patch and see what's going on.

Attached is a new patch (diffed against current CVS) which fullfills the 
"requirements" of all junit tests.

I've tested timezones 'Europe/Berlin' and 'America/Los_Angeles'.

Anyway I'm not 100% sure if this is a good way handling this.


Oliver

Attachments:

  pgjdbc_infinity5.patch.gz (application/x-gzip, 2.2K) download

view thread (27+ messages)  latest in thread

Message-ID: <200502041111.22381.o.siegmar@vitrado.de>
Permalink:  ../200502041111.22381.o.siegmar@vitrado.de/
Also on:    postgresql.org/message-id/200502041111.22381.o.siegmar@vitrado.de

 · 

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: o.siegmar@vitrado.de, books@ejurka.com
  Subject: Re: Problems with infinity
  In-Reply-To: <200502041111.22381.o.siegmar@vitrado.de>
  References: <200501131419.00993.o.siegmar@vitrado.de> <200501210907.45214.o.siegmar@vitrado.de> <Pine.BSO.4.56.0501250333160.27017@leary.csoft.net> <200502041111.22381.o.siegmar@vitrado.de>

* 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