Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opfAj-0002eU-9a for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Nov 2022 00:30:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1opfAi-0003vx-5X for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Nov 2022 00:30:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opfAh-0003vk-AO for pgsql-hackers@lists.postgresql.org; Tue, 01 Nov 2022 00:30:27 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opfAe-0006Pb-Ty for pgsql-hackers@lists.postgresql.org; Tue, 01 Nov 2022 00:30:26 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D7A665C01D6; Mon, 31 Oct 2022 20:30:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 31 Oct 2022 20:30:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1667262623; x=1667349023; bh=cgodwFMXfj EFUhUB3a8VM9NFCTBaRLE6iUUBVh4VHlE=; b=eLo5Jz/q8LB9d9C1q5kidvW0pm st1JlqE5ajhreGvP048zL4oDri0sTAWGpXKW5Uk23/ADfHAW8k9RI7x+p4iFAQb/ Dien51xGtnkv+ujXOMoNO8cIps++sM8+V9+S78mlhsyU1uX0SZEhLkPAESGjDm3M ExaFj3JFLD4MzliFAxQMziBOL9AmTd2KfchXLTeGUe1zGHZrtn3n4eN0g+Kxoo6P UrHy4JY48Wlxw2rPIbV2bk76WdzzZcrzvsovwbd7NcLv+nZD8scr4h7iuUe5n9/7 j63P2LaGVwl/WfQhO/wd9dC9MQaCaIKRnR4xJlLDEIIdZHbFwBN4U0a7ma7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1667262623; x=1667349023; bh=cgodwFMXfjEFUhUB3a8VM9NFCTBa RLE6iUUBVh4VHlE=; b=IYiCMKXn5cvOcXBxgJxN9DPNMi+GM2gN1I+WP7bDJLwU siiFNM7ZQ1CIl5AW+zFI7Z3yTAqqO9MMz8ttUorHnguI1IfAYDmY39mB2HrVugVg vyLbHrvUA6sljeIo/EOdxzMnBGZTxi4m6QDnqfFsk7YyV8uYrgAV6RwvXLm9kOa3 AMffOFjMkvi5XS+khgEAfk6O98YiALL97LD0ns3vHU4Dqo6EyNuE0y9YDYXCxIe9 /LgNoKW7TZnTmLAGEMux3sHrN4n/R53AEsARaeCNGA+jZ/BJfkuSc9MtZKPYVWP8 gfBZ+kkB32DHH7XxWFKf0qol6KDpcHReEHz7VyMCIQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudeggddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdefhedmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeg geffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 31 Oct 2022 20:30:22 -0400 (EDT) Date: Tue, 1 Nov 2022 09:30:13 +0900 From: Michael Paquier To: Tom Lane Cc: Peter Eisentraut , Nathan Bossart , pgsql-hackers@lists.postgresql.org Subject: Re: Simplifying our Trap/Assert infrastructure Message-ID: References: <3928703.1665345117@sss.pgh.pa.us> <20221009210148.GA900071@nathanxps13> <20221012183620.GA1447761@nathanxps13> <572ed6f8-a137-0a52-a35e-a48df95af6ed@enterprisedb.com> <503616.1667222050@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NADHvidjYi7uXl3V" Content-Disposition: inline In-Reply-To: <503616.1667222050@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --NADHvidjYi7uXl3V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 31, 2022 at 09:14:10AM -0400, Tom Lane wrote: > Peter Eisentraut writes: >> I don't think we need separate definitions for frontend and backend,=20 >> since the contained Assert() will take care of the difference. So the= =20 >> attached would be simpler. >=20 > WFM. Thanks, fine by me. -- Michael --NADHvidjYi7uXl3V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmNgaJUACgkQnvQgOdby QH2ScBAAkw/okY6+VKoahrcP/Njg/qr5CV3GhW07h/OkulfUGTyL5vO9cuIfeanq rpDHG+Ez2bVtLlxQo+VsTmPWC48kg3ylWS2i2MPzKg+btjoe88xYU6slabS4RH/w 7vVNLkIPlTBoHOc/l9ojfxeSlyD+3OaqmD3fJdwmSBOgdeLvaFYWQ72gq/ml8rUZ gBo8q8Jj7jeBQBQZ/ownbTL23v/fE1/JrYLaEkp1kXgvgWF84L5Ljgoe0PsHx3Wj eg4sISmlxu9NgAuFk89OZnk6sie/eo6WpXBMtUSylHgOHo8a3t+kQTQDFUrIE0LC n2hk+x9iR0Cv553fRClQyFzkrapsDfiqzyd0ZsmZmsu+0OO0v/QhCzn7GDt2N8gL oXosf3c3aEEX5/MZAbAwrpB2vvsG3PCTIf8XMZmaBMaWIx+oSb9cfnRUgvOMzp36 Skh3XOF0lIj96VbXQj30ThG3EuXDVRkDfDbA0SnM+3Qx5/JG+lb3nnYSa8PL4UyQ B7Rtzlmy0WL9IzqPwCA8RgDh8W12ZI87c2/doCwgbf7tiW4TIsqAhsIm9Z1J58s/ cC8/9WIUBs5a5d4fX2d1alDsHJqZ2oEy+kSXycSrn2MFHxX9fH96Q7XdcLzEqQKt +Bnga8P0MVmmm2StpBx/dUEdxVP75w1UTlhkRbWn9vCqS5+ePQ8= =hPoU -----END PGP SIGNATURE----- --NADHvidjYi7uXl3V--