Saturday, June 14, 2008

Re: [BUGS] Bug in select to_char(now(), 'YYYY/MM/DD HH24:MI:SS:MS')

=?ISO-8859-1?Q?Pierre_Le_Mou=EBllic?= <pierre.lemouellic@xgs-france.com> writes:
> Sometimes, when we run the SQL request :
> select to_char(now(), 'YYYY/MM/DD HH24:MI:SS:MS')
> we've got the result :
> 2008/06/11 15:01:06:1000

This is fixed in 8.3 and up:
http://archives.postgresql.org/pgsql-committers/2007-02/msg00334.php

It was not back-patched because it could change the behavior in cases
that weren't clearly errors.

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

No comments: