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.94.2) (envelope-from ) id 1r2w9N-001Sru-Fs for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Nov 2023 16:20:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r2w9L-009I1n-HT for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Nov 2023 16:20:27 +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.94.2) (envelope-from ) id 1r2w9K-009Hzb-TQ for pgsql-hackers@lists.postgresql.org; Tue, 14 Nov 2023 16:20:27 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2w9G-005Yk0-2g for pgsql-hackers@postgresql.org; Tue, 14 Nov 2023 16:20:25 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4348D5C02B3; Tue, 14 Nov 2023 11:20:21 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 14 Nov 2023 11:20:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1699978821; x= 1700065221; bh=HKrLQs8KxTKafM+nqBerVJIzm33vVuj1BsnhdnmSp+Y=; b=C /NPxkeAHFxkWCeeIeRA6Al0KOfeRGJRv+HOj/85W4zsLsKtKsumT2gxy/MiOeYQ0 +8x+y3ll26Ops+k8rKVmRpQwujkjsSZxbGVdZuaEmrBDZgKjc7RzlFiJgyNagJQu 4ACwaSvlivJ5EyKb3kGLeYOXrpbIWnVrUOfy4lrM32z/cuLYdKkp2QYd092oSHAw IvL7snaaRrP6rOqSpGWZE2GYGz1tK9ehZ3DIq6lbITQjkdwOuCBz2ns7SbYlFz0a oeL8W6che5+2bpMJqMrxERCZWhGOf6vN/0hoypgMH5iwMiV/m6FEJPuA8/RN0vFz f6UvRj86DZ0kUubzOrBew== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudefvddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepueeiteelkeduteeugfegffeltefgkefhgfeftdetfedu tedvtdetgeejffetieevnecuffhomhgrihhnpeguvggsihgrnhdrnhgvthdpvghnthgvrh hprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Nov 2023 11:20:20 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1699978816; bh=qrTCsF9E7xswcOAVVqwnGuXsz4/58gDbXqVsQAXt3Bc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=HjX/wrZGcmQ9DeOvJsutumFtTLwvS1+pVFAZgzPBbGDzsbfPjfBxCPW2ASzD68Uc7 AmN3LNfafrnKkjNtiX5dFaUdiERbAb5MJZRehHL7YQb2YY/Nu53/F6drwEl964+qRb /O2IESxsIhrZHPng4e11NSx0rfyEkFxEW6Y9FnAyqtH0n3NgF8i+ipbY7RIwp1ASbi TjAqyLowzz3h0uJu6d9yhlnx419QvT3eicoZfFifNXqiEDToAmWaIzEXYcfLxMsBz4 IOnPtlQsDDEGHO+neFS8D8bbP1g1W/QQldwXNLsVoMwSKk57I4V9NpMdSaC0k6YIKe owt/IZb0+7n9g== Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 98D4FDE; Tue, 14 Nov 2023 17:20:16 +0100 (CET) Date: Tue, 14 Nov 2023 17:20:16 +0100 From: Alvaro Herrera To: Nathan Bossart Cc: pgsql-hackers@postgresql.org Subject: Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Message-ID: <202311141620.5utqdkrxibkh@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231113185950.GA1668018@nathanxps13> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Nov-13, Nathan Bossart wrote: > Shall we retire this backwards compatibility macro at this point? A search > of https://codesearch.debian.net/ does reveal a few external uses, so we > could alternatively leave it around and just update Postgres to stop using > it, but I don't think it would be too burdensome for extension authors to > fix if we removed it completely. Let's leave the macro around and just remove its uses in PGDG-owned code. Having the macro around hurts nothing, and we can remove it in 15 years or so. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Entristecido, Wutra (canción de Las Barreras) echa a Freyr a rodar y a nosotros al mar"