pgsql/src/backend/utils/adt formatting.c - Mailing list pgsql-committers

From Marc G. Fournier
Subject pgsql/src/backend/utils/adt formatting.c
Date
Msg-id 200109120401.f8C41vm67019@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    scrappy@hub.org    01/09/12 00:01:57

Modified files:
    src/backend/utils/adt: formatting.c

Log message:
    It is not fixed and I doubt that it is working fine in current CVS. The
    bugfix is in the attached patch. Please apply it. Thanks.

    Output must be:

    test=# SELECT to_char(485, 'RN');
    to_char
    -----------------
    CDLXXXV
    (1 row)

    test=# SELECT to_char(485, 'FMRN');
    to_char
    ---------
    CDLXXXV
    (1 row)

    test=# SELECT to_char(1000, 'RN');
    to_char
    -----------------
    M
    (1 row)

    test=# SELECT to_char(7.2, '"Welcome to"9.9 "release! :-)"');
    to_char
    -----------------------------
    Welcome to 7.2 release! :-)
    (1 row)

    Karel Zak


pgsql-committers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: pgsql/doc/src/sgml plpython.sgml
Next
From: "Marc G. Fournier"
Date:
Subject: pgsql/. configure configure.in