pgsql: Fix to_char YYY, YY, Y format codes so that FM zero-suppression - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix to_char YYY, YY, Y format codes so that FM zero-suppression
Date
Msg-id 20100407214153.EB77B7541D0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix to_char YYY, YY, Y format codes so that FM zero-suppression really works,
rather than only sort-of working as the previous attempt had left it.
Clean up some unnecessary differences between the way these were coded and
the way the YYYY case was coded.  Update the regression test cases that
proved that it wasn't working.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.169 -> r1.170)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.169&r2=1.170)
    pgsql/src/test/regress/expected:
        timestamp.out (r1.41 -> r1.42)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/timestamp.out?r1=1.41&r2=1.42)
        timestamptz.out (r1.35 -> r1.36)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/timestamptz.out?r1=1.35&r2=1.36)

pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()
Next
From: rhaas@postgresql.org (Robert Haas)
Date:
Subject: pgsql: Make smart shutdown work in combination with Hot