Re: Date format issue

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Raman <ramang(at)smartdatainc(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Date format issue
Date: 2004-03-18 05:58:40
Message-ID: 20040317215536.I38957@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, 18 Mar 2004, Raman wrote:

> In my query of time zone i have details of interval with me like '-9:00',
> '+5:30' etc
>
> my problem is regarding the format of Date which i receive... ie. when I add
> the interval field the results are like:
> Query:
> select current_date at TIME ZONE "interval" '+5:30';
> timezone
> 11399908 years 8 mons 1538 days

You didn't say what version you're using, but IIRC, there was a bug which
caused the above sort of behavior. I think it was fixed in 7.4 and could
be fixed in 7.3.x with a catalog change which you might be able to find in
the archives.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message sad 2004-03-18 06:41:45 perfomance question
Previous Message Raman 2004-03-18 05:37:25 Date format issue