diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-25 23:36:28 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-25 23:36:28 +0000 |
commit | bc93919be787ac33fb5c35ae1cfdc1bfa54e2c5c (patch) | |
tree | f8d885780f10bf169eb0042fe24e40c6c9633b01 /src/backend/executor/execUtils.c | |
parent | 05506fc4afe95eca768853a9da35eb10e2126721 (diff) | |
download | postgresql-bc93919be787ac33fb5c35ae1cfdc1bfa54e2c5c.tar.gz postgresql-bc93919be787ac33fb5c35ae1cfdc1bfa54e2c5c.zip |
Reject year zero during datetime input, except when it's a 2-digit year
(then it means 2000 AD). Formerly we silently interpreted this as 1 BC,
which at best is unwarranted familiarity with the implementation.
It's barely possible that some app somewhere expects the old behavior,
though, so we won't back-patch this into existing release branches.
Diffstat (limited to 'src/backend/executor/execUtils.c')
0 files changed, 0 insertions, 0 deletions