pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
Date
Msg-id 20090706191212.814FD753336@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.84.4.4 -> r1.84.4.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.84.4.4&r2=1.84.4.5)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Use floor() not rint() when reducing precision of fractional