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 1wIS0p-0086vo-17 for pgsql-bugs@arkaria.postgresql.org; Thu, 30 Apr 2026 14:05:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wIS0o-007m6D-23 for pgsql-bugs@arkaria.postgresql.org; Thu, 30 Apr 2026 14:05:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wIS0o-007m65-1G for pgsql-bugs@lists.postgresql.org; Thu, 30 Apr 2026 14:05:06 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wIS0m-00000003WhH-09v5 for pgsql-bugs@lists.postgresql.org; Thu, 30 Apr 2026 14:05:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 63UE4wig742271; Thu, 30 Apr 2026 10:04:58 -0400 From: Tom Lane To: Gary Clarke cc: "pgsql-bugs@lists.postgresql.org" Subject: Re: Interval unit format bug In-reply-to: <9A86E1BE-C32F-4548-947C-C292A65DEBC2@onedb.online> References: <9A86E1BE-C32F-4548-947C-C292A65DEBC2@onedb.online> Comments: In-reply-to Gary Clarke message dated "Wed, 29 Apr 2026 12:00:28 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <742269.1777557898.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 30 Apr 2026 10:04:58 -0400 Message-ID: <742270.1777557898@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Gary Clarke writes: > Even if I set to verbose, Postgres outputs a very strange abbreviation f= or interval unit months that nobody else uses or would expect. [ shrug... ] This is documented: https://www.postgresql.org/docs/current/datatype-datetime.html#DATATYPE-IN= TERVAL-OUTPUT If we were to change it now, decades after the fact, what we'd mostly accomplish is to break applications. regards, tom lane