]> granicus.if.org Git - postgresql/commit
Fix to_date() and to_timestamp() to handle year masks of length < 4 so
authorBruce Momjian <bruce@momjian.us>
Wed, 7 Sep 2011 13:47:51 +0000 (09:47 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 7 Sep 2011 13:47:51 +0000 (09:47 -0400)
commit029dfdf1157b6d837a7b7211cd35b00c6bcd767c
treefacdd79b00acf28c37c48762e56f3d4afc246b39
parent8eacb25cbe9100b9cf441d4cbca4cec8fa5e3f52
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.
doc/src/sgml/func.sgml
src/backend/utils/adt/formatting.c