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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, 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 16:19:10
Message-ID: 11300.1265645950@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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() ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Kerr 2010-02-08 16:24:21 Re: PostgreSQL + Hibernate, Apache Mod Security, SQL Injection and you (a love story)
Previous Message Alvaro Herrera 2010-02-08 16:07:19 Re: Re: [GENERAL] FM format modifier does not remove leading zero from year

Browse pgsql-hackers by date

  From Date Subject
Next Message Leonardo F 2010-02-08 16:28:38 IndexBuildHeapScan and RIDs order
Previous Message Alvaro Herrera 2010-02-08 16:16:32 Re: Listen / Notify - what to do when the queue is full