pgsql: Reject out-of-range dates in to_date().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Reject out-of-range dates in to_date().
Дата
Msg-id E1TuqeQ-0001Sv-UH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Reject out-of-range dates in to_date().

Dates outside the supported range could be entered, but would not print
reasonably, and operations such as conversion to timestamp wouldn't behave
sanely either.  Since this has the potential to result in undumpable table
data, it seems worth back-patching.

Hitoshi Harada

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e2120d756885ce03e7b75b6aec2e93a63ce68a85

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Reject out-of-range dates in to_date().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Reject out-of-range dates in to_date().