Fix to_date() and to_timestamp() to allow specification of the day of

Bruce Momjian <bruce@momjian.us>

Commit: 015722fb364416b29fb1bb2c10631feb67ad61cd
Author: Bruce Momjian <bruce@momjian.us>
Date: 2012-09-04T02:52:44Z
Releases: 9.3.0
Fix to_date() and to_timestamp() to allow specification of the day of
the week via ISO or Gregorian designations.  The fix is to store the
day-of-week consistently as 1-7, Sunday = 1.

Fixes bug reported by Marc Munro

Files