Fix to_date() and to_timestamp() to handle year masks of length < 4 so
Bruce Momjian <bruce@momjian.us>
Fix to_date() and to_timestamp() to handle year masks of length < 4 so they wrap toward year 2020, rather than the inconsistent behavior we had before.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +9 −0 |
| src/backend/utils/adt/formatting.c | modified | +32 −26 |