Thread: pgsql: Prevent to_char(interval) from dumping core on month-related

pgsql: Prevent to_char(interval) from dumping core on month-related

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Prevent to_char(interval) from dumping core on month-related formats
when a zero-month interval is given.  Per discussion with Karel.
Also, some desultory const-labeling of constant tables.  More could be
done along that line.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.85 -> r1.86)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.85&r2=1.86)