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 1wAgI4-000DlA-04 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 03:42:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAgI1-003TJ7-10 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 03:42:46 +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 1wAgI0-003TIy-23 for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 03:42:45 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wAgHz-000000006LV-1Li6 for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 03:42:44 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 5B6D71D0011C; Wed, 8 Apr 2026 23:42:42 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Wed, 08 Apr 2026 23:42:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1775706162; x=1775792562; bh=SuFwTp80RI oVT99aPbXl9LtNXcra3nmsH54So/LVak8=; b=bns1N1DHejc5itbOWJLjfulgis 4fwDvPbWlihJGPGyxgBLFFJhGYh4+DQ0F7oObYEXWiFAEyM1r4LPkCNyLYB2tEM7 BdZwtDLP0l9WEJnq5SKTn3zR8Yeba38o3ZI9f4JzOGTTZ5hlUpskfBIBHTk3YQSQ Xc93qcK0NVrMPNJYhTuvolKEnxPW1j1eDye2O73TKrJZAk4rv+gx4lxHgNQCxBDE /HkQXMVTJG30wdcN38X6UhTLjX3mdvFuCbWa/oc3p7yq69dQ1LQAjwcivtaMi2MQ ppYiGyeK3Y7jfxZYHuRbcivWZGLJEehMMdMMNZvnxy11viVSfsRoFuQzHEpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1775706162; x=1775792562; bh=SuFwTp80RIoVT99aPbXl9LtNXcra3nmsH54 So/LVak8=; b=vjGBOaF3KdQHmNntbvBwBpGMF8DJTfifyNT+VeB2QJF0yRO49QY TpOxopTMYj4+LeQrbtUnMh1qlXrxAeJSDNvvpBM+DT1eBdFjTpuNDkM6Z0vEgspp ZN2Livy8ItUKY/AuxpnylUY1EsrHrr5pnAeVI9x+PzxYzo1ZYGNzM5m1dtFCPrtJ R6nxn18PvLy1OI6015TLzZip3UwbKGaSiTcgCJulPqwYu5jZqYl78n8WPU7Bt1z4 1690Rz/5y3mUUNEeyMML5+Ks7eqURuE3BNshXCMT/xkcKwD6Sa6ZwtXS83mRZjaU 8Uvxpy67Eg0qwuhheIl8lm2oy767tGApLjg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvheegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtroertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudelheeghfekfefgfedthfekuddt vdfhudekgeegheeikefflefhleekheetfeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehthhhomh grshdrmhhunhhrohesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggt khgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Apr 2026 23:42:40 -0400 (EDT) Date: Thu, 9 Apr 2026 12:42:36 +0900 From: Michael Paquier To: Thomas Munro Cc: PostgreSQL Hackers Subject: Re: [[deprecated("don't call this, call that")]] Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ga1mkyLJCJbZwUck" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ga1mkyLJCJbZwUck Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 09, 2026 at 03:34:30PM +1200, Thomas Munro wrote: > The idea would be to back-patch the deprecation warnings, and delete > the functions in, I guess now, v20. Then the deprecation notice > facility would always be there for next time we need it. That would be a nice addition, especially with the recent mblen() business (could have used that a few times myself). So +1 for the addition of the macro in the back branches. Do we need to be that conservative with the removal in v19? We could just pull the deletion switch without waiting for v20, IMO.. With the deprecated macro in place, at least folks would be aware of the problem. -- Michael --ga1mkyLJCJbZwUck Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnXICwACgkQnvQgOdby QH3oIw//bERMQJr7fjYV1juCHAIbXDq/MnB0v57+Id4UFaqPQuvhasvS25jUvS99 wV7PpzzG4G8MqBYIBFUar8oMGv0sQ0sRHaXT2YthnFBz62FDrieKZfKyQHWoSfPS MwyziwIBPacMU4m6Z5E/m6mPA8XNEi07XJStjshmloPLztwVOI/jZNx6FV6PJtfD FBEeNPP9xqSw8VtloAThwbixmSyVcR5Ow/LFBI19h1SoHs73SUBuzk6EDyxdvOvh UtZe3OiSxtcRp3iLZWSBA/H+epyIQZDAdkhxcfpS28A5GLDSCUjED4M7IYbLbykU gfI8GqXDPFDZ9wJpeVE1OgCeC1XHMpUsQ042wfU/USoTTZcLCIzYgDEav7I78QxH fUmf39RHwHfRlXRwDov1e0+/J93QvLrYAWPJgsnHAa+OrlL9tzCECh5/R92Yorh7 7csVKnf2tsEUg7EgDDuXvjomBWEOxpGbm+VYo6smg83CwXOL+dE9auMSh1D2eY2B y1JDv7/DvemJdDkddHpeGRRlRsR446grG3WXx78tBzCSHi+L6VFdwERP802PTtiO iFnufvAwbxsiSNCfDzERmZpvQYQgz6cwTirAF2pJiTu6MxTb6ANfgzXT0D7ZV7k1 TUi4CJdrlci1jzaZu+DFoPuOwJZohPba5eMY6ctwpW3Te54BXnw= =wmli -----END PGP SIGNATURE----- --ga1mkyLJCJbZwUck--