Fix to_char(), to_date(), and to_timestamp() to handle negative/BC

Bruce Momjian <bruce@momjian.us>

Commit: ac78c4178bec7b252d22a39515ad6efd6c1a7d7e
Author: Bruce Momjian <bruce@momjian.us>
Date: 2012-08-07T17:34:44Z
Releases: 9.3.0
Fix to_char(), to_date(), and to_timestamp() to handle negative/BC
century specifications just like positive/AD centuries.  Previously the
behavior was either wrong or inconsistent with positive/AD handling.

Centuries without years now always assume the first year of the century,
which is now documented.

Files