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 1pyijb-0007bj-6y for pgsql-hackers@arkaria.postgresql.org; Tue, 16 May 2023 00:40:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pyiib-00059e-0l for pgsql-hackers@arkaria.postgresql.org; Tue, 16 May 2023 00:39:09 +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 1pyiia-00059U-OD for pgsql-hackers@lists.postgresql.org; Tue, 16 May 2023 00:39:08 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pyiiX-00024O-5d for pgsql-hackers@lists.postgresql.org; Tue, 16 May 2023 00:39:07 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E3BAA5C00B0; Mon, 15 May 2023 20:39:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 15 May 2023 20:39:01 -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:sender :subject:subject:to:to; s=fm1; t=1684197541; x=1684283941; bh=vE HIECk3gAhufx2x0X0rEXSZvGXf+s7FDY36pO9+1+I=; b=adCG6H9GC25zjX5bCV xgFJiKyENWlz9W453vbkgRzs5I/MXtj94+PX5AJzYPk89tXrIPUGA9VGtkbwdXyq Vt91GrzVswAJUUuL6JfRVblqn5P9QNlzp2Fi11IGG7zKqLOraRk0upDBf+R9mOXd X2DcsGli5Gg7tngw7WBBkK4MetM2y90QvyeTaHyv9HjualdZoinGCDPsTK1oqtQ6 RPZ5bwQQX8YKebcwWl8FnrM9p+B8WsxufI9pTe17huMYiuHLs6RToDJP60oqf5Ku SL7Qj10hmaCN99EfaPFZh1LFQ5+vcAAJETzwI3DE9NRlpJfJtw6Dln+IvUB2rR1v dICA== 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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684197541; x=1684283941; bh=vEHIECk3gAhuf x2x0X0rEXSZvGXf+s7FDY36pO9+1+I=; b=q7uuEaTKU4f3Ov0TD3PuUMWToxvOb pYing74Wl3xmfIOgnxhv3d4VVj+fX3DWF9O21ncGTW9+kwrGFC+uKZGhp7u8SjhR d0o5WU1QjGQvr+1tPUOQ2r0ycM9QMHy++3nhQnK1Q4CgWE0ZiIC1gpYgnc7QjFko WhU6PkYxLZyCCQ4GBHHXg3tzDtwRj4eJqDxz7o0biFdmKbFXIgRLWsX3RC3fp8hV YFF2d1cxki3cHQBMgMw5DtUW+bSrpQfhZCY2uj9028s+ULUOD7TQOJb/qwrhyl2b 8yw7oZo6KFMVatdTVFRs88bxDPYc/Ew8ERTuEMVVqMLeVcjiwdsLS73qw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehkedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 May 2023 20:38:59 -0400 (EDT) Date: Tue, 16 May 2023 09:38:54 +0900 From: Michael Paquier To: Andres Freund Cc: "Drouvot, Bertrand" , PostgreSQL Hackers Subject: Re: Introduce WAIT_EVENT_EXTENSION and WAIT_EVENT_BUFFER_PIN Message-ID: References: <20230515182956.5lavflljhpgpokxc@awork3.anarazel.de> <20230516001716.iy7no2q77vwdt5w2@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MTnZsD+RmPH/BjfR" Content-Disposition: inline In-Reply-To: <20230516001716.iy7no2q77vwdt5w2@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --MTnZsD+RmPH/BjfR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 15, 2023 at 05:17:16PM -0700, Andres Freund wrote: > IMO the submission should include why automating requires these changes (yours > doesn't really either). I can probably figure it out if I stare a bit at the > code and read the other thread - but I shouldn't need to. Hm? My previous message includes two reasons.. Anyway, I assume that my previous message is also missing the explanation from the other thread that this is to translate a .txt file shaped similarly to errcodes.txt for the wait events (sections as wait event classes, listing the elements) into automatically-generated SGML and C code :) The extensions and buffer pin parts need a few internal tweaks to make the other changes much easier to do, which is what the patch of this thread is doing. -- Michael --MTnZsD+RmPH/BjfR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmRi0J4ACgkQnvQgOdby QH0paQ//dfS92R05Vr+qJFXUkr/xwhZzP284bEwk5pWqJDUYBMZfQnljuxWBMPZB DmWJiYal62F21Z2XFegIyIpNQQcMIYbHZ2itKEDNeuSdTw9yE+Ov3IYUEOsctSZ0 5NYtM03/o5oAQxPLkMcdQAGumXCq6K8WCzHp2DaLKsD2AhwZ+BK9aix4CiRDnfp6 bAajijjKfAxuaHaT1yp0z+V90q2MaTJzjejKCG/CJW3SBia8eRJ+y/SmHPDoVI7W bn8vJYugDQWw2KYZeN/SVku8lNSbuShJSumKhA+jYAmBpWaYyqOmRhfdis/LDkK0 Od74M0ggv1eFBTU1aPyul7OKpAIJ2AUjnay8xhdcDHsiDQKTh7E7UNI8t7djtsCR uxUQG5qoKQP4WS0wi7au14Yt+g8D3r+F+1hicmrHocM5c+fv9p1HwVYBaYFXUycb ASjuaQ368vOBj2IRn+K/nXly9vniqJPTZLUiD3nr7uHowsrgAgDY5CzuNIeIaXjK xoZy6MaotSFaACVLKge1xroh6wE5He3Bpg/DO3fVrSsWPX4S0UrH8BoTecaoYgdd tF0tKpD4QJ8sfUDxgpBtcC77g8IozPJypejR6MhcwWwVyPZOjrdqUBJjMwPfiE50 hIm2RpoEKTTntBbfCNsituhl297tr7hBkFAVW/Wy3EvzHgJhQZY= =K5vf -----END PGP SIGNATURE----- --MTnZsD+RmPH/BjfR--