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

From: "yanliang lei" <msdnchina(at)163(dot)com>
To: "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: PG 16 New Feature --“Accept the spelling "+infinity" in datetime input ”is not accurate
Date: 2023-08-10 16:05:55
Message-ID: 519ca406.6bed.189e0328750.Coremail.msdnchina@163.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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、

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2023-08-10 21:59:02 Re: U+200B ZERO WIDTH SPACE (0xe2 0x80 0x8b) in PostgreSQL documentation
Previous Message PG Doc comments form 2023-08-10 07:55:53 Include PostgresNIO Swift client in the Documentation