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 1wAUI0-0001M8-0i for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 14:53:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAUGz-000Cn3-11 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 14:52:54 +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 1wAUGz-000Cmu-03 for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 14:52:53 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAUGy-000000001Gv-07My for pgsql-hackers@postgresql.org; Wed, 08 Apr 2026 14:52:53 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-66bb4d4fcb4so5095164a12.2 for ; Wed, 08 Apr 2026 07:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775659971; cv=none; d=google.com; s=arc-20240605; b=eOnkBwv2dSsrOebchyRNiwtFG42s39a1FUDXumx67cV/jSjcXj5gHWkHjhghTBJw/L l2l/u3TxN686pfeGNjCa3RsIu0Z42W6lCvuO9bFy4cfNWHLlYJjqEPXWo9JZ6GDGdo4i idKJFrW0EbK+gzhBE0b57pY1InpHYeKbZHb7QEduiqTq47j7MEqLD86HyrB+s9NtxlCc F58XNIbdn/MxDpWCrOx9tGYN8BI0YX5K23/Czkct8qbA/px0AAO7gHcx8D3mCeu9B5C/ R+odfsRjOQfyVQqq3+q45NeAqbrTLnyZMg2xpGUwCegKgelan8B2JxfNn3HhtL5xtpMc r07Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=eHhtB4fefyiDC+iX9Ycg/ANH/DEadtZQfJUmQsozHRU=; fh=I2BKWEnQUlOia20VndG4bagDsQf1q63JtSJeP2u0mF8=; b=CRtrLroNuluv4coD4H1Rdh0HAL7LOxlsZU7wX8qc70p/skYp2E+7eejZBEo1u+rXuO 58q0Qb+BEMMiHfdDfff3KzhtI49cOyVDWloh6xIVTtRpIvI3bq3u3im2W46IR+gxt/YF NlPT7wI+FVtLqmxExMgKfvY1L0GQQrsFST4STfS0wN2IEIMVYj2YCUJsN1O/keFsI4NF qBQX6hsLgnBD8OTTsJIUswjxLgCeOY7Nc/m/FgMDHUdzj5a5P50lRdZZ9hawLMMrsUSQ n5SbFnVVrQEod7lOm4/ifIH8I6uOBnI1ygHDjJYVxGhhyslbb2eFZjIueL856iMuvb3B qkcg==; 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=1775659971; x=1776264771; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=eHhtB4fefyiDC+iX9Ycg/ANH/DEadtZQfJUmQsozHRU=; b=gn5ohYx/rBvx7h4x6ygeygiIJrmMrZ8HnB99TQTu1H+EnxBX7S/5xRzMAWfWJ2WPgg OkMTu7gK+YG89hkJJbD6RB0WNtAJq7b7be0fkMdCwgEf4FZhJDAsKnA6029v137TpVlq 368kM4u0QqVx6HGstY5WcqL9S9CpKtT3O+lBayOYLnios8zjvT0pQRzNZJJk2dbXKXiN e3gPgHKXSc+XjZelpezFuGeMKj2TGZZyER54BnrH/VAeMNdDmiT1TCN9e7LtKqmm+d9E mujhfCnvedRfEP3mLbHMXtTQQFUZF2WhyizEiGG4/z/2kJAHRpHBi3p783R+4qx5A2Ky gR1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775659971; x=1776264771; h=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=eHhtB4fefyiDC+iX9Ycg/ANH/DEadtZQfJUmQsozHRU=; b=rRMs76y7Rm34XiStcOelyQqBH64DuZG4j6/7s4xHe++JHCEiiOXpYDLsXx/NJtUf8x dsbOO/4Be2kGnMR5nENhApUVTzI/fkR4ZHawhX6kCmhkrK6X1Y1qiqv3zIy21bpInoZY HnOkwuUVSVeCXrT8+SY60+IYo4aHbcXn7yFbhA9wS6OJPap5eGlzpZTb9KC513qX4DAm rag5dLnoglBEBKA8fu9lwwkSc3Q+aQkq7OcmypMbNahXGU3klxXfJb3LlFpmxO8FgaSB qN6H/w5Tl+hOkdjAOvyEwPKMn3+KSMfdlXdvGoS1hWH0QnMA1VoQwchelAbnL3XIoNnb R8gQ== X-Gm-Message-State: AOJu0YyVtws22jXu6dnlbAkAhqVN0N+YE9C6rQFORZg+4ko/v1ePIKNH gI4v0wPefZ6lFaPoRfF4z2wX1YQErWN40QvxWhZkPRpsetKIJNzhITJ0Vj7sX4uRlXhzqPlqJOj o6Q7VSLatfJriafr8jT/E07Y65dy14aI= X-Gm-Gg: AeBDiev0BRvrZmsWDF9LvJhju7yddXl9GXJbXP1xuuawYXJactVtymg7jB/+QtCN5A1 /clJYYI2AJ3U9VJ77gE7E6YP1H1jUiLKjAaACg/wRUDpBIlJZK9ZlY4sdWS38cjKbzxh9mwjYoX ZBafOCUdpaAyEF5JNVW8axOORnzAinm11pISMnsU0nlf7ehf/bXDWdmUVuopAMupAnibWC/+mVd R+j3rUZ1diPC89UY2A/yColnPl0LHdKPexiWdz+Njg6RpavVc6PoLyDJq3hcyAQHVDW8M/3cSMW TMKKBw== X-Received: by 2002:a05:6402:a0c1:b0:66f:e7a1:a63c with SMTP id 4fb4d7f45d1cf-66fe7a1b7bfmr442125a12.0.1775659970828; Wed, 08 Apr 2026 07:52:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sami Imseih Date: Wed, 8 Apr 2026 09:52:39 -0500 X-Gm-Features: AQROBzCSWX0Czg3Vcas57eM2N7_Qi_GtotMB4CQY1PWD4mEosnRGP6dVY8728To Message-ID: Subject: Re: test_autovacuum/001_parallel_autovacuum is broken To: Michael Paquier , Masahiko Sawada , Daniil Davydov <3danissimo@gmail.com> Cc: pgsql-hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > 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? -- Sami