[COMMITTERS] pgsql: Allow negative years in make_date to represent BC years

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема [COMMITTERS] pgsql: Allow negative years in make_date to represent BC years
Дата
Msg-id E1cUC7g-0008JF-TC@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add function to import operating system collations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add function to import operating system collations