diff options
author | Tom Lane | 2020-09-29 17:48:06 +0000 |
---|---|---|
committer | Tom Lane | 2020-09-29 17:48:06 +0000 |
commit | a094c8ff53523e88ff9dd28ad467618039e27b58 (patch) | |
tree | 74e9cb9f1ae1702f2d865481aa684b952f0375a4 /src/backend/access/gist/gistxlog.c | |
parent | a6b1f5365d58356b5d42829e9cd89a6c725d7a0a (diff) |
Fix make_timestamp[tz] to accept negative years as meaning BC.
Previously we threw an error. But make_date already allowed the case,
so it is inconsistent as well as unhelpful for make_timestamp not to.
Both functions continue to reject year zero.
Code and test fixes by Peter Eisentraut, doc changes by me
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions