INTERVAL output format for iso_8601 is without dashes

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: benjamin(dot)kroeger(at)gmail(dot)com
Subject: INTERVAL output format for iso_8601 is without dashes
Date: 2026-03-10 14:10:47
Message-ID: 177315184745.772.13880446320967157412@wrigleys.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

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

https://www.postgresql.org/docs/current/datatype-datetime.html#DATATYPE-INTERVAL-OUTPUT

The output format for mixed Interval in style specification iso_8601 is
documented incorrectly.

The documentation says `P-1Y-2M3D​T-4H-5M-6S` while in reality there are no
dashes: `P1Y2M3D​T4H5M6S`

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2026-03-11 17:44:45 Clarifying pg_rewind failure risks due to asynchronous file deletions
Previous Message David G. Johnston 2026-03-07 20:45:19 Re: An example in UPDATE documentation page is a bit outdated