Skip site navigation (1) Skip section navigation (2)

Re: Re: [GENERAL] FM format modifier does not remove leading zero from year

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Guy Rouillier <guyr-ml1(at)burntmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [GENERAL] FM format modifier does not remove leading zero from year
Date: 2010-02-08 22:44:13
Message-ID: 201002082244.o18MiDx19877@momjian.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)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(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-02-08 23:09:19
Subject: Re: Writeable CTEs and empty relations
Previous:From: Magnus HaganderDate: 2010-02-08 22:33:46
Subject: Re: [PATCH] "could not reattach to shared memory" on Windows

pgsql-general by date

Next:From: Ivan Sergio BorgonovoDate: 2010-02-08 23:05:05
Subject: Re: turning a tsvector without position in a weighted tsvector
Previous:From: BlackMageDate: 2010-02-08 22:35:06
Subject: Help Join Tables

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group