Skip site navigation (1) Skip section navigation (2)

Re: Potential inconsistency in handling of timestamps

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Vaibhav Nivargi <vaibhav(dot)nivargi(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Potential inconsistency in handling of timestamps
Date: 2007-10-25 22:43:59
Message-ID: Pine.BSO.4.64.0710251840250.18159@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Fri, 26 Oct 2007, Oliver Jowett wrote:

> You're right though, null should be caught by TimestampUtils.toTimestamp() 
> too.
>
> Back to looking for a testcase?
>

Indeed.  Personally I suspect he doesn't have a timestamp column, but 
something textual and is confused over the difference between NULL and ''. 
Even without a testcase, the complete error message and stack trace should 
include the value he's actualy dealing with and where the driver had 
trouble with it.

Kris Jurka

In response to

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2007-10-25 22:47:48
Subject: Re: Calling a stored procedure with a custom return type
Previous:From: Oliver JowettDate: 2007-10-25 22:37:20
Subject: Re: Potential inconsistency in handling of timestamps

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group