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

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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix to_char YYY, YY, Y format codes so that FM zero-suppression
Date: 2010-04-07 21:41:53
Message-ID: 20100407214153.EB77B7541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Robert HaasDate: 2010-04-08 01:39:37
Subject: pgsql: Make smart shutdown work in combination with Hot
Previous:From: Heikki LinnakangasDate: 2010-04-07 16:14:18
Subject: Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()

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