Thread: pgsql/src/backend/utils/adt char.c

pgsql/src/backend/utils/adt char.c

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/05/28 17:58:32

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

Log message:
    Make text <=> char conversion functions convert zero character to and
    from an empty text string.  This makes them consistent with the de facto
    behavior of type char's I/O conversion functions, and avoids generating
    text values with embedded nulls, which confuse many text operators.