pgsql: Fix to_date's handling of year 519.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix to_date's handling of year 519.
Дата
Msg-id E1SlifC-0007KX-TE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix to_date's handling of year 519.

A thinko in commit 029dfdf1157b6d837a7b7211cd35b00c6bcd767c caused the year
519 to be handled differently from either adjacent year, which was not the
intention AFAICS.  Report and diagnosis by Marc Cousin.

In passing, remove redundant re-tests of year value.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/41f4a0ab789463971add986dbc778d77ec5a0ef4

Modified Files
--------------
src/backend/utils/adt/formatting.c |    8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix to_date's handling of year 519.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add missing space in event_source GUC description.