OSDN Git Service

Prevent to_char(interval) from dumping core on month-related formats
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2005 00:41:31 +0000 (00:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2005 00:41:31 +0000 (00:41 +0000)
commitfccde77ecb25c7f41e1b43b94892db5ce015eb42
tree6f0af54744a07e7440980edc98ca8acfa5234fd0
parenta7032690f96efde6e05f166c21c583b02bf71bd2
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.
src/backend/utils/adt/formatting.c