Re: intervals and jdbc

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: intervals and jdbc
Date: 2002-12-06 03:34:33
Message-ID: 1039145673.2213.198.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Really, why a string, I would expect a timestamp, a time, or a date.

ideally this should return a timestamp, as both sides are a timestamp.

Dave
On Thu, 2002-12-05 at 22:29, Joseph Shraibman wrote:
> Dave Cramer wrote:
> > Joseph,
> >
> > What do you want it to return, postgres is assuming you want an
> > interval, but there is no jdbc interval type. What are you expecting it
> > to return?
> >
> I was expecting a String. I had to explicity cast it to text to get it to work.
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Csaba Nagy 2002-12-06 09:40:26 Re: [Fwd: Re: [Fwd: Re: [GENERAL] DbVisualizer and PG 7.3?
Previous Message Joseph Shraibman 2002-12-06 03:29:27 Re: intervals and jdbc