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 1sgYyc-004Afj-5Q for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2024 00:13:26 +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 1sgYyZ-004t97-3z for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2024 00:13:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sgYyY-004t8y-3r for pgsql-hackers@lists.postgresql.org; Wed, 21 Aug 2024 00:13:23 +0000 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sgYyW-000e8P-0b for pgsql-hackers@postgresql.org; Wed, 21 Aug 2024 00:13:21 +0000 Received: from phl-compute-01.internal (phl-compute-01.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 1A83A114AB65; Tue, 20 Aug 2024 20:13:18 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 20 Aug 2024 20:13:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724199198; x= 1724285598; bh=r7Poe0+BMYcEMf64KEziGnn0rws2UE7Hl/2KOe1T+fk=; b=M KHjHze5mzKs5WnoWoslcgB7XqV/DK3RKSWQ7U+PP8bpMlvf4cvyp7L8AfNNBWdHH qczIw4YFQqcMpWcGag4WTxbKUXROxoW6sdGvrtXWIrwcUdSY+gVJdf2UAz+4/1If /jIWdrnLNllDOwAXqLGW9gLGHKqxcS90Hm5+M+qfeb9aE7+Fcf81be7jvd0yxsvB c/4dgbjjMVwoHjb3DFEQw9d6NdQQrjXc1znTgPfFTZCHSmi8FHx6ZDFQ5otqGvYq K5SG4as0OSqWFIY+LPQYVUF3o7RDXdjd5RB8S9OD4SdwM5+4QM0Bf/Gcemb0RWvB eKStgzCWo/84FM+NXv6jQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddujedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeen ucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhh drnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffh jeejhffgieeuueekjeekfffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprh gtphhtthhopedugedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghnughrvghs segrnhgrrhgriigvlhdruggvpdhrtghpthhtohepghhilhhlvghssegurghrohhlugdrnh gvthdprhgtphhtthhopegrvghkohhrohhtkhhovhesghhmrghilhdrtghomhdprhgtphht thhopegrmhgsohhrohguihhnkeeisehgmhgrihhlrdgtohhmpdhrtghpthhtohephhhorh hikhihohhtrgdrnhhtthesghhmrghilhdrtghomhdprhgtphhtthhopehthhhomhgrshdr mhhunhhrohesghhmrghilhdrtghomhdprhgtphhtthhopehvihhgnhgvshhhvddusehgmh grihhlrdgtohhmpdhrtghpthhtohepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp rhgtphhtthhopegrrdhluhgsvghnnhhikhhovhgrsehpohhsthhgrhgvshhprhhordhruh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Aug 2024 20:13:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1724199192; bh=4mr3w5gxDy+QCH4Da7mcoMgAQHKytfbVLYGGcBafl1w=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=CM6cvgBpYNfe2k5+q0GnMSedJ+LAY/BYXa0Lh2ylLoaFTdY/Zy/uJh0Ry+sQ4T0w+ EU/bw2BzxQ2YEB27iiva+gvSAVbZv2XpfO1KC5z3n10lt86XTxiQpfP37euVy4mRrn XgvBPxSiLBnKkogWT4WuyvX/Wu7cIuaqQ+6Sy1C1DdXiN095tGSTSiuNW4m6pSO7lo KAUu8GORi4H5IBEXqmERUrf1qJq0HrERnimCi1kL0GG8VAe9+7VzoWyvSU1EV+YS6t hiluRUaFd8Rbh90erIhBkaLShRnOBXIY4Ys9C3OwsMx/wRLRcIkxPcJqjzn53acXFH Yjc6/xPOn2vQg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id BACA4E9; Tue, 20 Aug 2024 20:13:12 -0400 (-04) Date: Tue, 20 Aug 2024 20:13:12 -0400 From: Alvaro Herrera To: Michael Paquier Cc: "Andrey M. Borodin" , vignesh C , Andrew Borodin , i.lazarev@postgrespro.ru, Yura Sokolov , Andres Freund , Thomas Munro , Gilles Darold , Alexander Korotkov , Anastasia Lubennikova , Daniel Gustafsson , Kyotaro Horiguchi , pgsql-hackers mailing list Subject: Re: MultiXact\SLRU buffers configuration Message-ID: <202408210013.knpjya6p656v@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Aug-21, Michael Paquier wrote: > I see that you've gone the way with the SQL function doing a load(). > Would it be worth switching the test to rely on the two macros for > load and caching instead? I've mentioned that previously but never > got down to present a patch for the sake of this test. Hmm, I have no opinion on which way is best. You probably have a better sense of what's better for the injections point interface, so I'm happy to defer to you on this. > + /* reset in case this is a restart within the postmaster */ > + inj_state = NULL; I'm not sure that this assignment actually accomplishes anything ... I don't understand what do the inj_stats_enabled stuff have to do with this patch. I suspect it's a git operation error, ie., you seem to have squashed two different things together. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Industry suffers from the managerial dogma that for the sake of stability and continuity, the company should be independent of the competence of individual employees." (E. Dijkstra)