On 8 April 2010 06:46, Tom Lane <t...@sss.pgh.pa.us> wrote: > Not a lot of zero suppression happening there :-(. > > I believe the correct fix is to reduce the year mod 100 (or 10 or 1000) > before feeding it to snprintf, rather than playing games with printing > only part of the result string as the original and current code try to > do.
I think you're right. FM should behave as advertised, even for years. Cheers, BJ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers