Thread: pgsql/src backend/utils/adt/varchar.c test/reg ...

pgsql/src backend/utils/adt/varchar.c test/reg ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/06/01 13:49:17

Modified files:
    src/backend/utils/adt: varchar.c
    src/test/regress/sql: strings.sql
    src/test/regress/expected: strings.out

Log message:
    New improved version of bpcharin() may have got the truncation case
    right, but it failed to get the padding case right.

    This was obscured by subsequent application of bpchar() in all but one
    regression test case, and that one didn't fail in an obvious way ---
    trailing blanks are hard to see.  Add another test case to make it
    more obvious if it breaks again.