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 1wAtyQ-000YIO-0f for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 18:19:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAtyO-007ARe-1i for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 18:19:25 +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.96) (envelope-from ) id 1wAtyO-007ARW-0m for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 18:19:25 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAtyN-00000000Ckl-0AJv for pgsql-hackers@postgresql.org; Thu, 09 Apr 2026 18:19:24 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-2b2589c26e3so11163985ad.1 for ; Thu, 09 Apr 2026 11:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775758762; cv=none; d=google.com; s=arc-20240605; b=ZIGcYo8sOPQ4a1ryYry5fN7zhjmmYjrJbKJseW1UdyMLDYgMNhz76KizWkE5u2Amef xt2ysD0cBWqiRCWMmJ2ge1VSL1Z9+n5o/YajpNXXpUrQInFudrAfMmKZ9nuKPNtVI/Z6 7ASH3xrOColz+0lddDlIGbl1lWglTpT2Ylo/bl1+r+RFzxs3lnyX2WGsedQBeymXCSO5 Y4X5bviGibBEmN9cDaNOHhrojr9vSh1IJt1pWm+Tn26DygtZw2I3Pln5AiMHR7q9D557 +XPaQLzYxShF60sg/dR7O1zNBvhoKpJBsb9NQP1PX/snr8qpa7k6l91kMXw/fLtOYD2j v+4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=f45wMlkkjZnliPtdFS4XXgmjOi9s1wCH79BOVtmrZU4=; fh=gcL65b1hXpTUSEBJmXRY+JGzSDXOM0Hd31qfHHwTgLE=; b=iA7FD/FYHP7HW9R0QJrTjxSqbz/Siv1WL7WRnn8BpMutHhfXxNjF1Kh6bu2AYMT30C Gfz80vxKwFFVFOzqh0TMonfJgnLxju6CdLGA6nN5dAum+MktgWz91UTEGk0nPFeR+OCK 7L+IVUOig/YMbtmvXJmyoMob8gz5nLW8P3jg7ZWqxJZlb3I7b1exm5E+enr01bznP9Uc c4wgi9mFfsNPJOwbBHL8gA1/YkQC0+w67EkRoIpS1ouIZVoCizHAi/BFByvL3/EBvbnW b8GXJIiVtnqYUGTpJRQMRB5hDaWLo7dE/VukVdsHYwzNcrFN+Z1ovlr+ztTsbbcAZxf3 A01A==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775758762; x=1776363562; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=f45wMlkkjZnliPtdFS4XXgmjOi9s1wCH79BOVtmrZU4=; b=OPOIcAczt/p5WGGwcQilqW287ke9vpfyZCJiw2ccNX4szD234x+6X2r5lDa+2S3t5m 62JaRjUo3OTsOfooTDDhQM3Lp5h86xWGd6DbKxgQKhA11FYoPoDz6/ef346T4Sk3cJ5D q39KibyNHhEJO8xZzvDVyLpZxNVIjTWUlUPVR1nx4mbNyX7BbjUStVZ7eUbOaqq0xPvx i31l+Gpu3OxL0+undsOOG/LLjMDN7OnwjPbtm8GS0VV5K9Ybv0DC+3Idgg2sTZUFVMR8 UM+NW2vO8+ohO/BY/IGpmpocamB6/GBFPXg3Pa8GqW5g2hmVS+FbjVmOwmw9DV76Royh ASuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775758762; x=1776363562; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=f45wMlkkjZnliPtdFS4XXgmjOi9s1wCH79BOVtmrZU4=; b=oiyVOiQB/Ugm+Bw1phz1lVJBYByulcmaVKYxasHbe2qQj+8lD7+S1yoTxgHwpg0kOU Spv9W1Y9zrYEXoV9PAKDAf7N+aV93y4hWF8/5isAGekt7b7NfwZ0VhHOXDjQ29Hab9dz klIPKkZhOvEqYxIRKygYVXPr8N8Og8sPH0sBFIT2jjJkQCZoFc7RBpGqQMkc3Rs9mkml Q1blngFhEU2qY72jlxdBC9sz/8RznZUjjsVoeL9kjfSoVY/LjGIH2+SsxSFfwm4pUEg7 GX9NMPG2ODZfPmHeLf2lhTzUTVEhO6XbhzOVBBxXFbcDFo++SWN1DJP1pkMn8KCGjgIT XVTA== X-Forwarded-Encrypted: i=1; AJvYcCUKAjA5NVp1UL/xcxu/9171IIeDfQgEyvBzRUl066OmjmtXHsjzBzG/q0c1mCl6x1aeN48Bvi+dcsVaiJJ5@postgresql.org X-Gm-Message-State: AOJu0YwbadYBjSuVMbbf3XBC4U2pIRFtQC4gl50ioR4qD3hk6Hzo+Kr9 KoZrDAn6ZLcoIdoJZEEGyL2hN74Q5itZEHNfnvX2YZ0XksGlWzEPqRXBn66R+z6YrnFunCeI7Hx M/BZY/qp+qSUen/FGoaA77qsJh3C6CBo= X-Gm-Gg: AeBDiesl1A/48Wgo24MzxKNhPW+yZ2JgLWZMKPS0Z8KVc5D0uPHSwP7X7hbv/zdbnEG 8Iye2beJl57x1ZwM0xHI6sP1EZGD/z4OrwW3AT4PpgbkmLd/b+SqHRR7m/5IV0Qg7p72xb7t4tw ycPEiX6VjZqxLR55agz1jULk2fHh7scxBzpssnNdIDWjvbnp3jK/Bi9j7X8bvJAB/VovKp1rFLe M83Itwl0ZnIFZc2F+dGNF/wt3MxdAezgQu86yvUstzmKrHTQwdDh3NJGublzD+/4i+F0bFehutM fHy9TA== X-Received: by 2002:a17:903:3d0f:b0:2b2:4cd2:e174 with SMTP id d9443c01a7336-2b281811ef1mr281265535ad.43.1775758762488; Thu, 09 Apr 2026 11:19:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiko Sawada Date: Thu, 9 Apr 2026 11:18:45 -0700 X-Gm-Features: AQROBzBNOL0BMQyF1KRmlaRRcXkeYP0O_UoOCXvJpY0vRB9hUcVWpKqby1sQOPQ Message-ID: Subject: Re: test_autovacuum/001_parallel_autovacuum is broken To: Sami Imseih Cc: Michael Paquier , Daniil Davydov <3danissimo@gmail.com>, pgsql-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Apr 8, 2026 at 7:52=E2=80=AFAM Sami Imseih wr= ote: > > > On Tue, Apr 07, 2026 at 01:02:49PM -0500, Sami Imseih wrote: > > > Perhaps, but I don't see it being unreasonable for injection points. > > > > > > I guess we can also think about expanding InjectionPointCondition to > > > handle other types of conditions, maybe OID??, to filter when running > > > the point. > > > > Yeah, InjectionPointConditionType was designed with these types of > > extensions in mind in terms of conditions you want to assign to a > > point name when attaching it, with the check happening in the callback > > attached when it is run. It should not be complicated to extend > > injection_points_attach(), just pass down a string that it then > > translated to an OID, or you could use a different grammar as well. > > One thing that I'd be careful about is to handle that with one > > argument in the SQL attach function, with the condition data given as > > an input string. One grammar that Alexander K. designed at some point > > for some of the facilities he had proposed was a JSON input, but > > that's an implementation artifact. > > > > Doing something as a separate module/library would be also fine. We > > do that for the AIO tests. > > I think we can enhance these tests using a separate module as Daniil is > suggesting, but we should probably get 0001 committed first and then > have a quick follow-up. What do you think? +1. I've pushed the fix. It might also be useful if an injection point is activated on the particular database rather than cluster-wide. Regards, --=20 Masahiko Sawada Amazon Web Services: https://aws.amazon.com