Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 9EECD2E0099 for ; Thu, 24 Apr 2008 12:30:40 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60514-06 for ; Thu, 24 Apr 2008 12:30:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id 3FA3E2E0042 for ; Thu, 24 Apr 2008 12:30:30 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m3OFUQXC029196; Thu, 24 Apr 2008 11:30:26 -0400 (EDT) To: Abhishek Mishra cc: pgsql-admin@postgresql.org Subject: Re: Problem with SGT (Singapore) timezone In-reply-to: <1209026751.6110.193.camel@bob> References: <1209026751.6110.193.camel@bob> Comments: In-reply-to Abhishek Mishra message dated "Thu, 24 Apr 2008 14:15:51 +0530" Date: Thu, 24 Apr 2008 11:30:25 -0400 Message-ID: <29195.1209051025@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/245 X-Sequence-Number: 29009 Abhishek Mishra writes: > I am using postgresql version 8.1.2. On using the SGT time zone on my > machine, I get following error: > ERROR: > invalid input syntax for type timestamp: "Tue Jan 15 04:09:43.729011 > 2008 SGT" 8.1 has a hard-wired list of timezone abbreviations, and "SGT" isn't in it. In 8.2 and later the list of abbreviations is configurable, see timezone_abbreviations. regards, tom lane