Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,
Tom Lane <tgl@sss.pgh.pa.us>
Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes, which had been unintentionally broken by recent changes to tighten up the DateStyle rules for all-numeric date input. Add documentation and regression tests for this, too.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/datatype.sgml | modified | +27 −3 |
| src/backend/utils/adt/datetime.c | modified | +64 −17 |
| src/test/regress/expected/date.out | modified | +677 −0 |
| src/test/regress/sql/date.sql | modified | +160 −0 |