Re: BUG #5132: Invalid Function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Geok Hua Yap" <geokhua8888(at)yahoo(dot)com(dot)sg>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5132: Invalid Function
Date: 2009-10-22 15:20:28
Message-ID: 815.1256224828@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Geok Hua Yap" <geokhua8888(at)yahoo(dot)com(dot)sg> writes:
> select timeofday()::timestamp;
> ERROR: invalid input syntax for type timestamp: "Thu Oct 22 15:16:25.113963
> 2009 SGT"

SGT was added to the default set of timezone abbreviations as of 8.4.
If you want to use Singapore timezone in 8.3, you'll probably want to
add it to your local copy of that configuration file. See
http://www.postgresql.org/docs/8.3/static/datetime-config-files.html

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-10-22 15:28:33 Re: BUG #5134: initdb fails with return code 1
Previous Message Robert Haas 2009-10-22 15:10:49 Re: BUG #5132: Invalid Function