Abhishek Mishra <abhishek.mishra@globallogic.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