From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Raman <ramang@smartdatainc.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Date format issue
Date: Wed, 17 Mar 2004 21:58:40 -0800 (PST)
Message-ID: <20040317215536.I38957@megazone.bigpanda.com> (raw)
In-Reply-To: <006301c40cab$1cfbee30$d4c7a8c0@raman>
References: <E7E213858379814A9AE48CA6754F5ECB0D749E@mail01.stbernard.com>
<200403170927.50757.dev@archonet.com>
<006301c40cab$1cfbee30$d4c7a8c0@raman>
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.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sszabo@megazone.bigpanda.com, ramang@smartdatainc.com
Subject: Re: Date format issue
In-Reply-To: <20040317215536.I38957@megazone.bigpanda.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