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 1pa1Uo-0005CI-Cc for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Mar 2023 21:38:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pa1Um-0006vm-WD for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Mar 2023 21:38:49 +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 1pa1Um-0006ui-LL for pgsql-hackers@lists.postgresql.org; Wed, 08 Mar 2023 21:38:48 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pa1Uh-0000uR-9c for pgsql-hackers@lists.postgresql.org; Wed, 08 Mar 2023 21:38:48 +0000 Received: by mail-pl1-x630.google.com with SMTP id i10so18997766plr.9 for ; Wed, 08 Mar 2023 13:38:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678311521; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ECcfK3xcbIiPl6eo2sWeNLayuOo1BAIUeI5TCM5Pfvc=; b=lC+TbwqZShIy2vqJzPuIxKmg4t0OLrugBhjCbHK7KrsHK9ssPsbyagz60w0Qcc/ctN ePwBOpsZdkhJKYMAO/w/HBA0Dov8x1HIsiNswu8ZfY/AwjczBTdT57HMLYWAD5ylPhm+ yjyShw6Rv8ShVz6rq2UvBSTpxXi+dC4As8JOv4W+xyMeBOmJfJOK6ypzFdaHa6BlZyD2 C5KKq+dRo1P9vwEvE9CEmaWcGXBBki9Aod8hk1z/iUsUcVwSgJEkJaouX4lQ02IZTNf6 cywsdV+pcL4j/ifVjqMEvjyhwicctyEs4AF1kyF4gMIH1UIHbbB7z94cEm2FFTGOzQ1r oNmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678311521; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ECcfK3xcbIiPl6eo2sWeNLayuOo1BAIUeI5TCM5Pfvc=; b=W9e/h4b6dWtmriEYjUHc8R8ygr3nwOiUmFkvE0t5SwAlOCCFutS707yxXTDEoRrb96 6rq/XASRGiHmLSBVJkeALoMOgt1qqZweNj4IEJw0ziR3fg1xvCcNSfOI9qJ63xzfuctR 6YdR81QNWyDCLk+dX9uEGOJlOBx624/eZBfUdQXN/RA5NFdlzKCYp4naFjyIHGs1qT9X IwJ3MqEH047VFEl9M0+xlXSVi/AClQW1ROhdu9Nd2vRdkdcTlvGBqQxeL4tAxuzgi+qU VqLClGoZbuQx9yK659DoyfiAPmxK3VhejroNUT3/zMJdeL7BaUO6lQd0BWncuSRhMn3r nZQQ== X-Gm-Message-State: AO0yUKXxWqs98iQbfevqlDqDfx7r9YU3I4ol3AHSFrjSMsNRASYIW41Z 2hetpivExGjzJOq8K/F5ScQ= X-Google-Smtp-Source: AK7set9mRQuXn3B/lHO9meb0NGc3EqPIHVs4LMCLY1QQkEkzlbwA4jLkQHJljaRFsV+bcASxrG364g== X-Received: by 2002:a17:902:7205:b0:19d:611:2815 with SMTP id ba5-20020a170902720500b0019d06112815mr16926968plb.42.1678311521086; Wed, 08 Mar 2023 13:38:41 -0800 (PST) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id kf3-20020a17090305c300b0019c8ef78d52sm10204922plb.21.2023.03.08.13.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 13:38:40 -0800 (PST) Date: Wed, 8 Mar 2023 13:38:38 -0800 From: Nathan Bossart To: "Drouvot, Bertrand" Cc: PostgreSQL Hackers Subject: Re: Get rid of PgStat_BackendFunctionEntry Message-ID: <20230308213838.GA3599633@nathanxps13> References: <11d531fe-52fc-c6ea-7e8e-62f1b6ec626e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11d531fe-52fc-c6ea-7e8e-62f1b6ec626e@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Feb 13, 2023 at 10:06:27AM +0100, Drouvot, Bertrand wrote: > Please find attached a patch proposal to $SUBJECT: it would allow to simplify > even more the work done to generate pg_stat_get_xact*() functions with Macros. > > This is a follow up for [1] where it has been suggested > to get rid of PgStat_BackendFunctionEntry in a separate patch. Looks reasonable to me. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com