X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9616DD1E9C1 for ; Thu, 18 Mar 2004 05:58:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 08451-10 for ; Thu, 18 Mar 2004 01:58:42 -0400 (AST) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id 3143AD1E9BE for ; Thu, 18 Mar 2004 01:58:41 -0400 (AST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id E30D8350D9; Wed, 17 Mar 2004 21:58:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id E1A3F350BB; Wed, 17 Mar 2004 21:58:40 -0800 (PST) Date: Wed, 17 Mar 2004 21:58:40 -0800 (PST) From: Stephan Szabo To: Raman Cc: pgsql-sql@postgresql.org Subject: Re: Date format issue In-Reply-To: <006301c40cab$1cfbee30$d4c7a8c0@raman> Message-ID: <20040317215536.I38957@megazone.bigpanda.com> References: <200403170927.50757.dev@archonet.com> <006301c40cab$1cfbee30$d4c7a8c0@raman> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/192 X-Sequence-Number: 17291 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.