diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-01-12 23:34:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-01-12 23:34:55 +0000 |
commit | 9a54b76b39b89de2f0238a9e4d570972cf758fd8 (patch) | |
tree | ab5b2fa640ad316d8064caad9b497f68e5063846 /src/backend/parser/parse_target.c | |
parent | 113fbe1264a8b6d757afc54c6df29de80720c7bd (diff) | |
download | postgresql-9a54b76b39b89de2f0238a9e4d570972cf758fd8.tar.gz postgresql-9a54b76b39b89de2f0238a9e4d570972cf758fd8.zip |
Fix handling of CC (century) format spec in to_date/to_char. According to
standard convention the 21st century runs from 2001-2100, not 2000-2099,
so make it work like that. Per bug #2885 from Akio Iwaasa.
Backpatch to 8.2, but no further, since this is really a definitional
change; users of older branches are probably more interested in stability.
Diffstat (limited to 'src/backend/parser/parse_target.c')
0 files changed, 0 insertions, 0 deletions