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.96) (envelope-from ) id 1wfCo9-005KXR-2b for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2026 08:30:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wfCo8-000xBi-1O for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2026 08:30:04 +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.96) (envelope-from ) id 1wfCo8-000xBa-0E for pgsql-hackers@lists.postgresql.org; Thu, 02 Jul 2026 08:30:04 +0000 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wfCo5-00000001Lce-2J7L for pgsql-hackers@postgresql.org; Thu, 02 Jul 2026 08:30:03 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2E4451F654; Thu, 2 Jul 2026 08:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1782980995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iLtnM22gI9g9Q460QN7cq2xP2gFRF0SbdfqnqEjVLQE=; b=D7Cl2aGQYkPhwGzzsgDkUCwvRJ6OpXK9/oCZKx9MqmYkzkCbUKO347w5ffIQKB9uVH7h6J zg79mstZXBLmOfWMMcOPZaZmzUTGnLntnSFIgUM0aeH9eSNeesTWcilSNzreN6XhoDhdWS Uze97cVVulL7nZDjyEmJoIqfDKiGt7VwRnRylQsV0ATnNFHePbgV9DWDf3PRLqIXUlXgsq oNvzaS9BUfy1TRGV3Dr8sYiEEMQ1+rnyRmkAg4n29QJStOwsZgwZ15LThXjPQbVGU5eKsa /+iVG5koZsz2ArwhfsDqXvW9jD7sOtTCzE6wecgFxJp80WPYxLodpxXAoAKQNw== Message-ID: Date: Thu, 2 Jul 2026 10:29:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Changing the state of data checksums in a running cluster To: Palak Chaturvedi , pgsql-hackers@postgresql.org References: <7357A519-3391-4F07-BC69-5C9C2B120792@yesql.se> <4020B0AE-6286-462F-BD50-3AAD170F08C9@yesql.se> <30E2C103-2F50-4F9D-8868-E057250F55CA@yesql.se> <17BD06EB-3741-4921-AF60-6575FB4784ED@yesql.se> <9197F930-DDEB-4CAC-82A2-16FEC715CCE8@yesql.se> <6011EEE0-2D34-4A63-8B88-2437173486FE@yesql.se> <525E0691-FDAD-4194-9228-592A2DB96749@yesql.se> <9e1331e1-93a0-4e27-934a-17b89342be4d@vondra.me> Content-Language: en-US From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: tomas@vondra.me X-GND-State: clean X-GND-Score: -100 X-GND-Cause: dmFkZTERudO5h8BYJf7w1EL+InK+f/s7tUqW3FqOGchyRu9/sRoB4439t+wEZJmHrM9Om4xukzAUQxlGi/JEsAyWKKmObK1qQpstX4gh0nLTU58J8olayftiYxA2jGC4n38RHa/ghnEMSs4Yo086RHuQWYhB0kNRCp895tnMcgx5YksIJNVp5XMR/DQiBJUC30gaXVzmnl+P2j8RG4e5D5jJ/y56OHGA8HMcvee2+UvoCDSSPQpeI9SILC6pEblLGRE0EggDm11YM0LpOGByVcGO5aVPY61gQJWd2N366n0ImJls6WpC21883bxxQ/ViRw3Y0DEDgO9CRp0FRDuu8u+jj/J8SJHSPQflb2pEFW/sPh5B/4yLShKMqLUdD6rVYVDfIaoL0+kQKq+5BRmVuldoM6SyHIoWapneaFPgIDu+st3/s3mxsfvECnkzLWRJAtrOlqyBMdiWX+AccXXu25jTLM1pSjviBG6OIxE4cnLBBZMvZYd4KixXGjmPWmT/l1dcPa1m3x2D4Sy3qAenGFCI6716Yw5e3/hVLOOQjhYNLgE2En8d5qB8L4C6SXeDumSs/6jQc1XfAvAOQ4vk/+aZSXG/SnBrWO6PoyemVR/4hywmZrY1mk9Mq4TKVipEbHJPb/lQuLHkhmdf4novLzt3Kms9ta30QyWGMT33y3brs5ST8A List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 7/2/26 07:06, Palak Chaturvedi wrote: > Hi Tomas, > > Thanks for these test patches. They are quite useful. I've been going > through them because we think they'll also help with the TAP tests for > the online shared_buffers resize work , where I'm ending up reusing > several of the same helpers (attach_injection_points, > background_rw_pgbench, and a couple of others). > Would you be open to lifting these helpers out into a shared Perl module > (for example under src/test/perl/PostgreSQL/Test/…) so both test suites > can consume them instead of each copy-pasting? I'm happy to prepare a > small prep patch on top of your latest version if that sounds reasonable > to you. > I suppose you mean the functions for managing injection points (waiting, waking, attachin/detaching, ...)? Yes, it might be useful to have that in a Perl module, so feel free to create one. regards -- Tomas Vondra