Обсуждение: PG 16 New Feature --“Accept the spelling "+infinity" in datetime input ”is not accurate

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

PG 16 New Feature --“Accept the spelling "+infinity" in datetime input ”is not accurate

От
"yanliang lei"
Дата:

in the https://www.postgresql.org/docs/16/release-16.html, there is a new
feature :Accept the spelling "+infinity" in datetime input。
Actually,"in datetime input " is not accurate.
Actually, in the PostgreSQL 16 beta2 edition, the spelling "+infinity" can
be used in the following three datatypes:
1.timestamp [ (p) ] [ without time zone ]
2.timestamp [ (p) ] with time zone
3.date

and the spelling "+infinity" can not be used in the following two
datatypes:
1.time [ (p) ] [ without time zone ]
2.time [ (p) ] with time zone

so ,I think that the follow descirtion is accurate:
Accept the spelling "+infinity" in the following data types:
timestamp [ (p) ] [ without time zone ] 、
timestamp [ (p) ] with time zone、