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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-04-08 01:39:37 | pgsql: Make smart shutdown work in combination with Hot |
Previous Message | Heikki Linnakangas | 2010-04-07 16:14:18 | Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset() |