Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: fc2e2ef64e58a852d6a9ab371e529465c32b2c5c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-11-16T20:29:34Z
Releases: 7.4.1
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

PathChange+/−
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