diff options
author | Bruce Momjian <bruce@momjian.us> | 2012-08-07 13:34:44 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2012-08-07 13:34:44 -0400 |
commit | ac78c4178bec7b252d22a39515ad6efd6c1a7d7e (patch) | |
tree | 03c163cca94916b05493d248c2f91263dcd857e9 /src/backend/parser/parse_expr.c | |
parent | fbcfa90bb8ceb77f7763b6ae16bcbb777849ccee (diff) | |
download | postgresql-ac78c4178bec7b252d22a39515ad6efd6c1a7d7e.tar.gz postgresql-ac78c4178bec7b252d22a39515ad6efd6c1a7d7e.zip |
Fix to_char(), to_date(), and to_timestamp() to handle negative/BC
century specifications just like positive/AD centuries. Previously the
behavior was either wrong or inconsistent with positive/AD handling.
Centuries without years now always assume the first year of the century,
which is now documented.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions