[COMMITTERS] pgsql: Allow negative years in make_date to represent BC years - Mailing list pgsql-committers

From Alvaro Herrera
Subject [COMMITTERS] pgsql: Allow negative years in make_date to represent BC years
Date
Msg-id E1cUC7g-0008JF-TC@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow negative years in make_date to represent BC years

There doesn't seem to be any reason not to allow negative years to be
interpreted as BC, so do that.

The documentation is pretty vague on the details of this function, so
nothing needs to change there.

Reported-by: Andy Abelisto, in bug #14446

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/30bcebbdcf23eb8b78e553c4b3b5eb847410ef19

Modified Files
--------------
src/backend/utils/adt/date.c       | 14 +++++++++-----
src/test/regress/expected/date.out |  8 ++++++--
src/test/regress/sql/date.sql      |  2 +-
3 files changed, 16 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [COMMITTERS] pgsql: Add function to import operating system collations
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Add function to import operating system collations