pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: exako200@proton.me
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Typo in '8.5. Date/Time Types' v16
Date: Thu, 30 Nov 2023 16:57:39 -0500
Message-ID: <521890.1701381459@sss.pgh.pa.us> (raw)
In-Reply-To: <170135220450.398199.2086746048510324538@wrigleys.postgresql.org>
References: <170135220450.398199.2086746048510324538@wrigleys.postgresql.org>

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





view thread (2+ messages)

Message-ID: <521890.1701381459@sss.pgh.pa.us>
Permalink:  ../521890.1701381459@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/521890.1701381459@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, exako200@proton.me, pgsql-docs@lists.postgresql.org
  Subject: Re: Typo in '8.5. Date/Time Types' v16
  In-Reply-To: <521890.1701381459@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox