pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mario Splivalo <mario.splivalo@mobart.hr>
To: pgsql-jdbc@postgresql.org
Subject: Storing and retreiving infinity timestamp values from postgres database
Date: Wed, 27 Sep 2006 00:47:16 +0200
Message-ID: <1159310836.18217.5.camel@localhost.localdomain> (raw)

I have read some posts on this mailinglist concerning the infinity value
of the timestamp data type, where it was stated that an exception is
thrown when one attempts to read infinity value. Now, on the postgresql
jdbc there is an entry in TODO list wich mentions adding handling of
'infinity' values to the jdbc documentation.

Is it possible for someone to post some code here for reading/storing
infinity timestamp values to and from postgres database?

I'm using postgres 8.1 with latest JDBC drivers, and from the postgres
JDBC web page can be concluded that the infinity support has been added
to the driver.

	Mario
-- 
Mario Splivalo
Mob-Art
mario.splivalo@mobart.hr

"I can do it quick, I can do it cheap, I can do it well. Pick any two."





view thread (2+ messages)  latest in thread

Message-ID: <1159310836.18217.5.camel@localhost.localdomain>
Permalink:  ../1159310836.18217.5.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1159310836.18217.5.camel@localhost.localdomain

 · 

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: mario.splivalo@mobart.hr
  Subject: Re: Storing and retreiving infinity timestamp values from postgres database
  In-Reply-To: <1159310836.18217.5.camel@localhost.localdomain>
  References: <1159310836.18217.5.camel@localhost.localdomain>

* 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