pgsql: Fix to_date() and to_timestamp() to handle year masks of length - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Fix to_date() and to_timestamp() to handle year masks of length
Date
Msg-id E1R1IUR-0001kf-Uh@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/029dfdf1157b6d837a7b7211cd35b00c6bcd767c

Modified Files
--------------
doc/src/sgml/func.sgml             |    9 +++++
src/backend/utils/adt/formatting.c |   58 ++++++++++++++++++++----------------
2 files changed, 41 insertions(+), 26 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Revert documentation patch about NEW/OLD and triggers.
Next
From: Bruce Momjian
Date:
Subject: pgsql: Fix bug introduced by pgrminclude where the tablespace version n