Typo in '8.5. Date/Time Types' v16

Started by PG Bug reporting formover 2 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/datatype-datetime.html
Description:

Hello,

In the interval example outputs, for postgres and postgres_verbose.
It says mons instead of months.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: Typo in '8.5. Date/Time Types' v16

PG Doc comments form <noreply@postgresql.org> writes:

In the interval example outputs, for postgres and postgres_verbose.
It says mons instead of months.

That is in fact the datatype's output format.

regression=# show intervalstyle;
IntervalStyle
---------------
postgres
(1 row)

regression=# select '2 month'::interval;
interval
----------
2 mons
(1 row)

regards, tom lane