Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1slMZB-0076Di-KM for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2024 05:59:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1slMZA-007PIi-Mp for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2024 05:59:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1slMZA-007PIa-EF for pgsql-hackers@lists.postgresql.org; Tue, 03 Sep 2024 05:59:00 +0000 Received: from fout8-smtp.messagingengine.com ([103.168.172.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1slMZ8-000POv-6y for pgsql-hackers@lists.postgresql.org; Tue, 03 Sep 2024 05:58:59 +0000 Received: from phl-compute-06.internal (phl-compute-06.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 9AE781380385; Tue, 3 Sep 2024 01:58:56 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Tue, 03 Sep 2024 01:58: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:subject :subject:to:to; s=fm1; t=1725343136; x=1725429536; bh=gr2bM3T1zI FmtAJm40oKRDdDK2n4Stnc/gtQEoXjVgI=; b=gqolF94EVAr+9kV7RyfaZzy/mp CQCnjpXKjMaYK1Bu5ndX6c4DW9z8GZOj/dN471UMO/FZzG7CKZWi7V9KXD+RJrDB lW6eKq+UMSJWcjk9NXYZCS3rvnVsz+AlIbUHQHb8YKf0P0zE9s4ezGCAgXpKmlby y4HcBTFEG/Mq+VwRRr5CfpnyFIL6OeqdX2rPzzfbGzh5YI6evvxDKcTw0T4MLIv8 VReuwVBnQAnZkMNoct3B6yB49TdiXJqQdhNyx51dfX5JQo0nIlmwacZYgKpNlkqr Pj6J+IasfE4x465QhYkcZe3EemB1oqgYLqlcy6Vh6/m1Gs/bJhKnyLgrv8gw== 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:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1725343136; x=1725429536; bh=gr2bM3T1zIFmtAJm40oKRDdDK2n4 Stnc/gtQEoXjVgI=; b=hVYmkujNaG2ZEYESRwtNMq6jn/1xAcdTlmz3sB2yaDnp NFnyAUxZea0OBype8ooJUXhFKTd7kyV0oLdXoOg1v5Wf2wMe0CVFMWTtezWQtRuK We50uh8C2vEbyeCyCNsN6/XD2aQ7QtSG2SFZPrUCloZ92phycOEP1B0xKSvV5a1R v8jRIt4pdp3y0OSaeCPecD0nNPbf2JbJ0ecBwB6Z7n+2kU8Bz3pbWsr6TA3403vW ui+Adj3khSZoEVkhwWpBrXpY2ss4MqwwrBUWwPWGpQ2bTmsElgd+agdERUdiDK9X gYbzjlaSrYJOR0bQxV89OyMK/i93utJNSZJZfiVH3w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehgedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffk fhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrh cuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeet leeifedufffhhfdtteelgeeggeffhfekueevteeigfduudevudetgfegiedvjeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghl sehprghquhhivghrrdighiiipdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghesghhmrghilhdr tghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsth hgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Sep 2024 01:58:55 -0400 (EDT) Date: Tue, 3 Sep 2024 14:58:49 +0900 From: Michael Paquier To: Bertrand Drouvot Cc: Postgres hackers Subject: Re: Add callback in pgstats for backend initialization Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WaXZ/pmVUJCRdf7j" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --WaXZ/pmVUJCRdf7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 03, 2024 at 05:00:54AM +0000, Bertrand Drouvot wrote: > Should we add a few words about this new callback (and the others in > PgStat_KindInfo while at it) in the "Custom Cumulative Statistics" section of > xfunc.sgml? Not sure if it is worth having. This adds extra maintenance and there's already a mention of src/include/utils/pgstat_internal.h telling where the callbacks are described. -- Michael --WaXZ/pmVUJCRdf7j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmbWpZkACgkQnvQgOdby QH2qgQ/+M5c0n4hSgbVtGmGE+rzup9YYBv12SbP4aFnpjYM/TiuvStUoDUpoCdc5 mZTR/YYnRIMCd8RHzF3UAhLzqZ1s7JK43PpDIospol4rvlKLJo1r7zl9jkqQmt1Q sj1r8JvOS3e91GJgfQHLvTISuShgMr9mdoapzi+FWOBuu14Kb5CThw/0hJAURX0w TgyqvanmHe0j1nccjHiYu/HetfzzRXhlb1BDUPZZfX8EezfVeSMRr0xuCRGL77gZ 4jGrwwj39yp8tCSy5TaDqeP9mHn5PRmqHJpGyzUsHf+9vj05WgKTYUILi95C5ovk sbshU3mTDPTcE7sFY71hsm0z2m9TjNgcZZw7EGuJ7Yezn6ZZJKo0QJxKlTEcTLtO 9DX64SZwhR2hu6Hnf0r+Qjhok4vqj6d/Z1xojqnrTqC1n6/1qoJ1jOpQXwAHk+Ni Lrx65aoMN5azMo3/8kRRI69f5Nb3t0NRruBwQ+iRbniXWRrNfzeIBZV1yhB8kWDG qW80QQLaqv4uexI0dsx26FehWLUtrKVIBepkm4hEBDlx0qOKqCj3+ujfYgYjsH/J 8daEw/6xhOtQYlUyVNbF1fh+/sLIiboVX+UPbr8QpyAtO4um2+ojVocg6tQnf05H JncPJE9EoHsyRDaV2gvMp7mGVbRKa2W1JWOPfcQ2KcOdYdddXv4= =Ow8E -----END PGP SIGNATURE----- --WaXZ/pmVUJCRdf7j--