Обсуждение: pgsql: Reject out-of-range dates in to_date().

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0471b013aab87ebfbb767e9456c7b619d5c2b9d3

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