Skip site navigation (1) Skip section navigation (2)

Re: Problem with SGT (Singapore) timezone

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Abhishek Mishra <abhishek(dot)mishra(at)globallogic(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problem with SGT (Singapore) timezone
Date: 2008-04-24 15:30:25
Message-ID: 29195.1209051025@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Abhishek Mishra <abhishek(dot)mishra(at)globallogic(dot)com> 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

In response to

pgsql-admin by date

Next:From: Scott MarloweDate: 2008-04-24 15:39:26
Subject: Re: Problem with SGT (Singapore) timezone
Previous:From: Antonis AntoniouDate: 2008-04-24 10:15:55
Subject: moving from 7.4.13 to 8.0.14

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group