Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w28FD-00018j-1k for pgsql-docs@arkaria.postgresql.org; Mon, 16 Mar 2026 13:44:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w28FB-00A8Ba-29 for pgsql-docs@arkaria.postgresql.org; Mon, 16 Mar 2026 13:44:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w28FB-00A8BS-1T for pgsql-docs@lists.postgresql.org; Mon, 16 Mar 2026 13:44:30 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w28F9-00000000Qt0-24Jr for pgsql-docs@lists.postgresql.org; Mon, 16 Mar 2026 13:44:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 62GDiNAB2415178; Mon, 16 Mar 2026 09:44:23 -0400 From: Tom Lane To: =?UTF-8?Q?Benjamin_Kr=C3=B6ger?= cc: pgsql-docs@lists.postgresql.org Subject: Re: INTERVAL output format for iso_8601 is without dashes In-reply-to: <0efbf18e-165e-4aae-97c1-2137201f0382@gmail.com> References: <177315184745.772.13880446320967157412@wrigleys.postgresql.org> <2120277.1773605663@sss.pgh.pa.us> <0efbf18e-165e-4aae-97c1-2137201f0382@gmail.com> Comments: In-reply-to =?UTF-8?Q?Benjamin_Kr=C3=B6ger?= message dated "Mon, 16 Mar 2026 12:39:32 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2415176.1773668663.1@sss.pgh.pa.us> Date: Mon, 16 Mar 2026 09:44:23 -0400 Message-ID: <2415177.1773668663@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?UTF-8?Q?Benjamin_Kr=C3=B6ger?= writes: > It might help to see the input values that led to the documented output > values. If you look e.g. at the mixed interval output for style > `postgres_verbose`, all dimensions are signed exactly opposite to the > `iso_8601` style. I believe all the entries in each column of that table represent the same value. The reason for the sign difference in postgres_verbose is that it uses "ago" to indicate an overall sign inversion. regards, tom lane