From: Oliver Jowett <oliver@opencloud.com>
To: Sergio_Lob@iwaysoftware.com
Cc: pgsql-jdbc@postgresql.org
Cc: Ephraim_Spravtsev@iwaysoftware.com
Subject: Re: [BUGS] BUG #1523: precision column value returned from
Date: Thu, 10 Mar 2005 10:10:25 +1300
Message-ID: <422F6641.6030806@opencloud.com> (raw)
In-Reply-To: <422F3E9E.6080700@iwaysoftware.com>
References: <422CB915.7040204@opencloud.com>
<422F3E9E.6080700@iwaysoftware.com>
Sergio Lob wrote:
> What format does PostgreSQL return in getString() method for a timestamp column, for example? Seems like it should return same as toString() method of a timestamp object as defined in java 2 api spec.
It returns the string representation the backend gave it. This is true
for all types at the moment. For a timestamp with timezone value this is
generally going to be yyyy-mm-dd hh:mm:ss.nnnnnnzzz:
test=# select now();
now
-------------------------------
2005-03-10 10:08:11.707753+13
(1 row)
Does the JDBC spec say somewhere that we should return a different format?
-O
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, Sergio_Lob@iwaysoftware.com, Ephraim_Spravtsev@iwaysoftware.com
Subject: Re: [BUGS] BUG #1523: precision column value returned from
In-Reply-To: <422F6641.6030806@opencloud.com>
References: <422CB915.7040204@opencloud.com> <422F3E9E.6080700@iwaysoftware.com> <422F6641.6030806@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