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 1qGDj7-0008JS-Cn for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Jul 2023 07:12:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qGDj5-000648-Fn for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Jul 2023 07:11:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qGDj5-00063y-6M for pgsql-hackers@lists.postgresql.org; Mon, 03 Jul 2023 07:11:59 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qGDj2-001kzv-Vy for pgsql-hackers@lists.postgresql.org; Mon, 03 Jul 2023 07:11:58 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 47DD25C00DC; Mon, 3 Jul 2023 03:11:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 03 Jul 2023 03:11:56 -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=fm2; t=1688368316; x=1688454716; bh=NV g3MHBAaqSu2glvMToTiLMQItrsR0sNpevJOt3ceQg=; b=R4s6SRYYkTI5E/vUtK eUWJ4i/6ulX4/B/eFJ7gYHAI45myHyTWeBTmn7P8hayUDXZ3fOytgxr5eLJb3ox8 r64/k1FRzhw/q1t8V/pp04HuJC7+pR6zcj9RnF5Y2NriyqGA3jydHpa/rWBb9Ii5 ci+gPdWToDuTvqhpFEyjwgKW6YbBv49qdlLet7oH3mSVEe6CM1BHgYmZQeWUgDXF JL8vrGGRAT1ddFdxekcyIK4qRciUjg9udmMGWEGYtNbmtbHnfXK00Ur86Iv1Dsu8 u520z3/P57lF723EJH7xXgke5NbBR1vjWek/u+D0JpPDcDpqP/rZSpFffwkl3dWj 4gaA== 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=fm2; t=1688368316; x=1688454716; bh=NVg3MHBAaqSu2 glvMToTiLMQItrsR0sNpevJOt3ceQg=; b=DxoD/K0vUiFTZFLKp+Fcqp7xd9Plf 8yoz1/ZyH4Y7dyboKjgI8XOiCpo9R5onvs2JrGqBQs+0xkEJbc/Gk6rfso68q2/U xFoKM4VIr1g+fRv2BXaX/xpU8F79CVdmqed5lyysZ8kYTVZb402yBmItDMo05uce PxEipZNqyQYOb8LtjptkLeS08nHH9CRPk2wTNUwou6lXxQrkEwTPZgiMOZjnDPbj U3cp62mHTb7L8BG9NzDDuDMhx1Lc4sCwWf/a5jgYfvxUEzGZJz9dQBlJE7dFGJa/ noY7nZE9hPiW9mytjnWET2bmYia7JwwvEn2s6wB85cQaz/N9UuXFFpaTw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddugdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Jul 2023 03:11:54 -0400 (EDT) Date: Mon, 3 Jul 2023 16:11:51 +0900 From: Michael Paquier To: "Drouvot, Bertrand" Cc: PostgreSQL Hackers Subject: Re: Autogenerate some wait events code and documentation Message-ID: References: <124bdcea-bdc8-e3d2-2357-0c6a857bc557@gmail.com> <106e8d0a-0820-687a-7da5-3143e1f5b05b@gmail.com> <976f4eb1-cbc0-9616-ec26-ebb4a252315c@gmail.com> <69588eaf-02d7-95a8-0da4-3e120de16a59@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5vpzkdQp6akc1Evq" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --5vpzkdQp6akc1Evq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 03, 2023 at 03:57:42PM +0900, Michael Paquier wrote: > I think that we should add some options to the perl script to be more > selective with the files generated. How about having two options > called --docs and --code to select one or the other, then limit what > gets generated in each path? I guess that it would be cleaner if we > error in the case where both options are defined, and just use some > gotos to redirect to each foreach loop to limit extra indentations in > the script. This would avoid the need to remove the C and H files > from the docs, additionally, which is what the Makefile in doc/ does. >=20 > I have fixed all the issues I've found in v11 attached, except for the > last one (I have added the OUTDIR trick for reference, but that's > incorrect and incomplete). Could you look at this part? Ah. It took me a few extra minutes, but I think that we should set "capture" to "false", no? It looks like meson is getting confused, expecting something in stdout but the new script generates a few files, and does not output anything. That's different from the other doc-related perl scripts. -- Michael --5vpzkdQp6akc1Evq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmSidLcACgkQnvQgOdby QH2qhw/9HuoQtZaLWip7x+Ot1ZY1acxIBr22lr6x2auHsP2uw6RXnN58M5gUwxR9 aO3wMiZL0ZNjXjIZEBACv26sZcTpgZb7LrAMjcGxLrpu43bfjnBwnb/xyIHwpACg DLSVl18Ll3JWTU0d1+/oGxItqqXO4HCh6AnpQPOL0TUUBxUWc4kCzTAj7I57kKwj tGnFW6w/u3/0NJWjVU9iTIeKd9gV05dka0mRvX4j33AAnOgNUBSTJBi+y7wtPR2c pHBNVd1mnfXNiwG43GbGSrLgq1OBIKj7lSTlhfZ24W6JMAzZdyXl2hWmUyk+YDfl V5zvrcZ85AlSfiN+vc++SX98AKNVSu3pG8t4Y+Wd3TGccyhb+g+mwJpmRsZWJ7oC X24YupeHcenfiUwKJ9dlgkTin7lNPRvORt0k/zAukSNAT45J/X/v13/taOw262Ae zO/t/4CHlNBdWI6MmmVfxA1NsrIvwXrf2Xwg7HwZHNqD4u0L9i3lnHGIeU77mDqM 6i0fWO7b/PXp8zIpd1ot7o3V/cUQQOBDnNRvXl8Frdeo3Zi5/fHOrUVZHQGWm8Fo dj//G+weBZrTjv+Fo9NL5unT/DycVkD0mt65WAAhYbuzLotDVV5GRvAfY2ZjVGPc EWFyf0CIJjSHEgytwYS0HHIpARjLI1Ooqo7y4INBHpT0Z9uAT7Q= =yYSi -----END PGP SIGNATURE----- --5vpzkdQp6akc1Evq--