Prevent to_char(interval) from dumping core on month-related formats
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2005 00:41:45 +0000 (00:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2005 00:41:45 +0000 (00:41 +0000)
commitf945d770383a192753df1e1b60dd0631d8d551d0
tree42016444c705817a973ff669e665d473a4ed7623
parent34f0a44cc9b99559e0f441d3848a7758867564c8
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