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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <aklaver(at)comcast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, "Andrus" <kobruleht2(at)hot(dot)ee>
Subject: Re: FM format modifier does not remove leading zero from year
Date: 2010-01-05 15:54:08
Message-ID: 10210.1262706848@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Adrian Klaver <aklaver(at)comcast(dot)net> writes:
> From what I could see in the source code
> (src/backend/utils/adt/formatting.c) the year portion of the string is
> not run through the FM modifier. A fix would mean a patch to the above
> AFAIK.

Should it be? Can anyone check how this works on Oracle?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2010-01-05 16:03:47 Re: Large tables, ORDER BY and sequence/index scans
Previous Message Milan Zamazal 2010-01-05 15:53:00 Re: Large tables, ORDER BY and sequence/index scans

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-01-05 16:04:08 Re: We no longer have a fallback for machines without working int64
Previous Message Tom Lane 2010-01-05 15:53:15 Re: pg_migrator issues