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 1vCSE5-00EHgy-Oz for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Oct 2025 00:33:45 +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 1vCSE4-001b34-Mx for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Oct 2025 00:33:43 +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 1vCSE4-001b2u-Dk for pgsql-hackers@lists.postgresql.org; Sat, 25 Oct 2025 00:33:43 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vCSE1-0044pZ-0w for pgsql-hackers@postgresql.org; Sat, 25 Oct 2025 00:33:43 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-26e68904f0eso28896495ad.0 for ; Fri, 24 Oct 2025 17:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761352419; x=1761957219; darn=postgresql.org; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FCyaGo9toyZDeLRMAylQSGTf/lgb0qmglKDmBTpp4kw=; b=KgySfxMg2xL12j1Q7gpCMaCloA3F8ts1D4clbYLN57lJN7n9oDDBkY/Kj4f7CvI/qS dp4Nhwn2Ac93KJqBatHi0u5D9pUvsI8n5QKlpcF8o7A/wBvtigHREaGiTjwMG/q6lTa3 bbJTIJLxjxlA166LOPKvuJ8LzT6NuEKObuN9Uw5NKtWiV1JsmOYQl59E3AiYWZuFdoE/ GC5RlDgnPTZlYUZkrUwV3Yk0gZGVzg1zP0D5dtRYJWGUHyKlMciJpEbScjoB7QrXHVuJ IFJ1NcuF99WEGlZpdg/h+kL+Zh4nYy8olOGuF3IWPgpvdvOpIMiWLlPI0yUg1OjPMHg3 k9xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761352419; x=1761957219; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=FCyaGo9toyZDeLRMAylQSGTf/lgb0qmglKDmBTpp4kw=; b=tTsTtFKCRyBCmrtzYDIMQdQQWAsEhEE1CWn5b5IEBVDxCQWwuOpu60mQlO5oVUSYPl KQf0SNNQZSEt7iFChxEgymf7DYvhLj+0EY7zGIhYcBa9kv0sQ459L1OmA6dYiAwyT0GF zjF28F6GIMW+FSgeLcOvcKxH5MSx9OLa+98QSzAnchpdUSP2VMNF8IS8cujshsuBp3K4 T+4MfScjZnKq1HW2fhrbxGhm8KEFRX/0pdSf7fwmlBHBgh13PLAarJHePYUJeCpRSGfq 13PTdh2qzBXluuJqXi/LDfSkPwm4S0qmyG902NFFIN+PH5wbCqVx3rhVkf6rNYUpZPMm 2uhQ== X-Forwarded-Encrypted: i=1; AJvYcCWrumTn32KlF3GgiU4TgGtaQqmUD7tb/81h6VgDvmmVE9tAZH9NVli2bvtKahBLg3fXmJTY4b1cB5rhAzRg@postgresql.org X-Gm-Message-State: AOJu0YzoGTYuKOix+CzySp/9xodZbjw9J54oYsgE30gXpRT+5dWVeqMt WAMH5bq3GCt+gbjox2K3/9nsxgyyUvfxMOXBVW8g2bgQLqhOdzz7QnTQ X-Gm-Gg: ASbGncunfeVeca2shcZAwlLLIX46/BSfOjhnb2/u6BOpDcKt4kwTE5fRgDlZJCSi6W3 iaixDKjEM5vuw5TNpu37I53fjzlNodsb66EUOM1kz2uypIHcWJNEDjGEL3VA6Tk2zNmoKHC4ldw 9vAYudHR+le5XezmeMjrraa5I4nXop5e7kOgPMLyIOLq+i610tP59dEumPlrhkCa9ZLex2X4a4K 5UGwP6ehMYb7MM+6ymmsxodoPBYrwJdNjgx2PPnwIbROtOFhNPFL91x0uiokZhYtuo/Qtgr6fcT Bd41yh5cpYL/yOQgogZj4mlIIu4yfcKoU6Pz6z2OjF8hL0mzN0kdCBa9ipWI/BhuOPB1Dkrjt6W jPhTKpbfGWpPirx8vdVKHJ0PkZAkvQmcBoMgChNNnbwVGpptO/UqIKJ2jxERmXF2v6sF6+zZ5QM /FRPMtZ9g5x0M/j+HFbCjIh6kB5sw4dkfp1A== X-Google-Smtp-Source: AGHT+IGZvnI3RUtQrao7eDpDB0r/S0O8FnYsToq0ah3k23YdKpwtesQ04ose5hjpm2awhLuGFrwDfQ== X-Received: by 2002:a17:902:e88e:b0:290:9332:eed1 with SMTP id d9443c01a7336-290ca12153emr345751195ad.34.1761352418855; Fri, 24 Oct 2025 17:33:38 -0700 (PDT) Received: from localhost ([2804:14d:328a:a59c:58be:8196:d2cb:8423]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498d22ea8sm4871585ad.45.2025.10.24.17.33.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Oct 2025 17:33:38 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 24 Oct 2025 21:33:33 -0300 Message-Id: Subject: Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue From: "Matheus Alcantara" To: "Arseniy Mukhin" , "Masahiko Sawada" Cc: "Matheus Alcantara" , =?utf-8?q?=C3=81lvaro_Herrera?= , "Joel Jacobson" , "Rishu Bagga" , "Yura Sokolov" , "Daniil Davydov" <3danissimo@gmail.com>, "Alexandra Wang" , "pgsql-hackers" , "Tom Lane" X-Mailer: aerc 0.21.0 References: <202510221548.tgggefdrlpo3@alvherre.pgsql> In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri Oct 24, 2025 at 4:36 AM -03, Arseniy Mukhin wrote: >> I would expect to add 002_aborted_tx_notifies.pl in a separate patch >> since it's not related to this bug fix. >> >> --- >> +# Test checks that listeners do not receive notifications from aborted >> +# transaction even if notifications have been added to the listen/notif= y >> +# queue. To reproduce it we use the fact that serializable conflicts >> +# are checked after tx adds notifications to the queue. >> >> I wonder if we could implement this test using the isolation test >> instead of the tap test. Is there any reason why you used a tap test >> for that? >> > > I agree it's less relevant to the patch now than it was with the new > 'committed' field approach. And there is no particular reason why it > was implemented as a TAP test actually.. So +1 to move it to separate > patch (does it mean to separate thread as well or just separate patch > file?) and rewrite as an isolation test (IIUC it's better to use > isolation test infrastructure if it's possible). I can try to do it if > nobody else does it earlier. > On the v11 version that I've sent on [1] I've move this test into a separate patch, please feel free to implement it as an isolation test if you want it. [1] https://www.postgresql.org/message-id/DDQZB2AD34V4.3RH2USCA72AS8%40gmai= l.com -- Matheus Alcantara