Re: Re: [GENERAL] FM format modifier does not remove leading zero from year - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: [GENERAL] FM format modifier does not remove leading zero from year
Date
Msg-id 201002082244.o18MiDx19877@momjian.us
Whole thread Raw
In response to Re: Re: [GENERAL] FM format modifier does not remove leading zero from year  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > What's the point of not following Oracle here, since this is solely an
> > Oracle compatibility function?
> 
> Changing FM's behavior like that will break approximately every user
> of to_char() ...

I would love to know why we are finding out about this incompatibility
only in 2010, years after we implemented this.  Is no one porting
multi-specification "FM" to_char() strings from Oracle to PostgreSQL?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [PATCH] "could not reattach to shared memory" on Windows
Next
From: Tom Lane
Date:
Subject: Re: Writeable CTEs and empty relations