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 1pfUvH-0000JY-Eb for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Mar 2023 00:04:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pfUvG-0007V2-9h for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Mar 2023 00:04:46 +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 1pfUvG-0007Ut-0I for pgsql-hackers@lists.postgresql.org; Fri, 24 Mar 2023 00:04:46 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pfUvB-0002KG-PH for pgsql-hackers@lists.postgresql.org; Fri, 24 Mar 2023 00:04:45 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id AA046320099D; Thu, 23 Mar 2023 20:04:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 23 Mar 2023 20:04:38 -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=1679616277; x=1679702677; bh=R0 RJzZi1e8Wg5E5SLK27K2vgDWydvikxrbWI7g3RNhQ=; b=Vf92LjqpU+zgJPyksy sPdV2LC55MiIXXz0n71vqtw2JnL7Z7xWlCF4JSOfDawtRGwXhqJTM5reRe2nGAix djXAQUlKDtqm6IPJxKCn1f8M1Jnnvf0VHKMirQkxjurLRafm3KKim8d7HB8+M7UX 21r3WudNrGFDpNfOZQNa1wJgKUJQD3tQ95JZcZ4fTpMuZ7B88mqyICTmIdQO8xsq LmmT1tiLDE05xk8lyHUMhWy9dwG6r2U0geaOAVFRxbOCNqT5pVHhXAXlnJHGSaxz 2SFP1YMS/svw1KX1zQBLXmzz28imOfHVZ+T4JqPDIm9EbQSmymzlGOCpiwvjRPL4 fvdg== 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=1679616277; x=1679702677; bh=R0RJzZi1e8Wg5 E5SLK27K2vgDWydvikxrbWI7g3RNhQ=; b=Ilnw9YS1HVffFvyzXGF2Rpx3Jz8xX yRcOOUWNeDgrmRejuprvaiv4c8SF9885a+sbbsEATVaPay6d8JJjyHcMhGwNuY9w WjR+x9JYtQXy2iGU4q+ZGOerKPdfjsM4FxF517cOoVj8q8ti3vthOTcnDL6Tqva/ NXAAuHYtqv/AZJsRJcKjBOc4eO+5Ncwrv2msbWpiVblFnraqo1Klbaw7Jw+Z8q20 +XW6EVp5IV6ugZ8tOma8rV50yYAEJKbXR870hiLoR/CjX8qW23vZOX6It8b9RAiz cPM8gnJAVGmsgNX6ZkUcbmNEktEFpuxsV0EKA3yPbf54bbEhhLoBRKyhw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeghedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepgeffjeevgfevuddvjedtvddt ieejheduueelvddufedtgfefjedvkeevkeeivddvnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Mar 2023 20:04:35 -0400 (EDT) Date: Fri, 24 Mar 2023 09:04:31 +0900 From: Michael Paquier To: "Drouvot, Bertrand" Cc: "Gregory Stark (as CFM)" , Andres Freund , Michael Paquier , PostgreSQL Hackers Subject: Re: Generate pg_stat_get_xact*() functions with Macros Message-ID: References: <89606d96-cd94-af74-18f3-c7ab2b684ba2@gmail.com> <20230111225907.6el6c5j3hukizqxc@awork3.anarazel.de> <20230112182434.ejffbun4plv2g37k@awork3.anarazel.de> <83f7982d-272a-b064-8a0f-8853354edf10@gmail.com> <20230113183746.zyncqr2zz3gk6yh6@awork3.anarazel.de> <11744b0e-5f7f-aba8-7d9c-2ff0a0c6e2b2@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OWaLYUqv3qiSPFMH" Content-Disposition: inline In-Reply-To: <11744b0e-5f7f-aba8-7d9c-2ff0a0c6e2b2@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --OWaLYUqv3qiSPFMH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 02, 2023 at 08:39:14AM +0100, Drouvot, Bertrand wrote: > Yeah, there is some dependencies around this one. >=20 > [1]: depends on it > Current one depends of [2], [3] and [4] >=20 > Waiting on Author is then the right state, thanks for having moved it to = that state. >=20 > [1]: https://www.postgresql.org/message-id/flat/f572abe7-a1bb-e13b-48c7-2= ca150546822@gmail.com > [2]: https://www.postgresql.org/message-id/flat/b9e1f543-ee93-8168-d530-d= 961708ad9d3@gmail.com > [3]: https://www.postgresql.org/message-id/flat/11d531fe-52fc-c6ea-7e8e-6= 2f1b6ec626e@gmail.com > [4]: https://www.postgresql.org/message-id/flat/9142f62a-a422-145c-bde0-b= 5bc498a4ada@gmail.com [3] and [4] have been applied. [2] is more sensitive than it looks, and [1] for the split of index and table stats can feed on the one of this thread. Roma wasn't built in one day, and from what I can see you can still do some progress with the refactoring of pgstatfuncs.c with what's already on HEAD. So how about handling doing that first as much as we can based on the state of HEAD? That looks like 50~60% (?) of the original goal to switch pgstatfuncs.c to use more macros to generate the definition of all these SQL functions. -- Michael --OWaLYUqv3qiSPFMH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmQc6Q8ACgkQnvQgOdby QH38GQ//e6jfBU7oXgWSHdpShSt7AA4bXe2ds9nw4QSci3boV2WmjN2cjprlltqX jQZOwhjJibzDgypYC5C/Yvk/K0KISIo7AtP04w+NfDIMg581iHwcvggFHBQM4stw Q0y4pTT528RvNY5BjD7YxLfCnODVtCPzAYstX+ma/hlZqSQTckJ5hL0C7P9BiXSf cIzKTGmHvTRf42CioDbPj6TQs4pyVe1Wf5NHmnqAW5mCGR1SZ9HWDyAr0SiBjqoY W/zZOyV9uflgOvSQn90M49ZQE3WKQYTEy2zWUbPCqjR0FP8pLj6l20fWcTLbwRwY m/7+VBCEoIuS7HnO90ONCOcF8ar9xeCPIz7q/UXbcg4eWeRrAlCOjwind82WMMYX mIF8zZEV2eA05f16sPhmas3DueuIpYkXwawQB3Al8mJNSTLFaJwxgUhMHKSt4ddd JxXoRZstF57/JSq/EV0zz1Am3D6sBnQhmvrQEcyx8KUeUXeJ04ksyDInb/j+qGyG Jdqqx7sqc/7BcqLHZEQhVhvKDBAhZ1CudEuRGTsYrViuq2n88cLJod0nnZzZQVRk iRl/xBZBDH1Ov6dIX+4tq3Mwd8Eye78YBl9mro+na2fey9E/rHXED88kOwB93EdX se9AVJmzWoiN/Hhe9rIfQI9AjIZ3Y2SujruqqcnqCNFxnP0Vrp0= =mJud -----END PGP SIGNATURE----- --OWaLYUqv3qiSPFMH--