Re: Typo in '8.5. Date/Time Types' v16

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: exako200(at)proton(dot)me
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Typo in '8.5. Date/Time Types' v16
Date: 2023-11-30 21:57:39
Message-ID: 521890.1701381459@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Shinya Kato 2023-12-01 02:54:14 Delete description of trigger file
Previous Message Laurenz Albe 2023-11-30 16:59:04 Re: Postgres Partitions Limitations (5.11.2.3)