Skip site navigation (1) Skip section navigation (2)

pgsql: Fix to_date() and to_timestamp() to handle year masks oflength

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix to_date() and to_timestamp() to handle year masks oflength
Date: 2011-09-07 13:48:31
Message-ID: E1R1IUR-0001kf-Uh@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Bruce MomjianDate: 2011-09-07 16:41:52
Subject: pgsql: Fix bug introduced by pgrminclude where the tablespace versionn
Previous:From: Bruce MomjianDate: 2011-09-07 13:24:40
Subject: pgsql: Revert documentation patch about NEW/OLD and triggers.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group