Const-ify a couple of datetime parsing subroutines.
Tom Lane <tgl@sss.pgh.pa.us>
Const-ify a couple of datetime parsing subroutines. More could be done in this line, but I just grabbed some low-hanging fruit. Principal objective was to remove the need for several ugly unconstify() usages in formatting.c.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/datetime.c | modified | +4 −4 |
| src/backend/utils/adt/formatting.c | modified | +3 −3 |
| src/include/utils/datetime.h | modified | +4 −4 |