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 1tsIwK-000Ni5-6W for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Mar 2025 10:03:52 +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 1tsIwI-001IIz-Pn for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Mar 2025 10:03:50 +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 1tsIwI-001IHI-GP for pgsql-hackers@lists.postgresql.org; Wed, 12 Mar 2025 10:03:50 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tsIwE-002Olx-39 for pgsql-hackers@postgresql.org; Wed, 12 Mar 2025 10:03:49 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id CEE512A1E8B for ; Wed, 12 Mar 2025 11:03:42 +0100 (CET) Received: from s980.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id BB82C2A0028; Wed, 12 Mar 2025 11:03:42 +0100 (CET) Received: from s898.loopia.se (unknown [172.22.191.5]) by s980.loopia.se (Postfix) with ESMTP id B95BC22016A8; Wed, 12 Mar 2025 11:03:42 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s898.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=proxel.se Received: from s981.loopia.se ([172.22.191.5]) by s898.loopia.se (s898.loopia.se [172.22.190.17]) (amavisd-new, port 10024) with UTF8LMTP id kXm6WOnSsWeZ; Wed, 12 Mar 2025 11:03:42 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: andreas@proxel.se X-Loopia-Originating-IP: 147.28.75.140 Received: from [192.168.0.121] (customer-147-28-75-140.stosn.net [147.28.75.140]) (Authenticated sender: andreas@proxel.se) by s981.loopia.se (Postfix) with ESMTPSA id 283D622B1781; Wed, 12 Mar 2025 11:03:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxel.se; s=loopiadkim1707418970; t=1741773822; bh=4xP1NKKXiLIk/6QCOoIZUETu9EhFKNi0eiTLQJdL/ro=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Dmy9VvbiHn9tfPKOpc9dsO7OpYC3/dMbE67f+RirSS0ImIbdfRMpK3haZ+P4d5tch cbQEFEObcauJIz3l3SNt7IXeYQYoRQyC7OigvvKtorafMTFFgkbVYcjUN3cjidKbXh 5uYw7yW9Wq4Z07o88xozBY7GrbieghECD9s0794L7xc8IubMb8npSiRKOYZQiPWeF9 SfhiXrhF5u7WB9ICTNfuatxR1mQIFxCFPRM8YdphFwjMiWbY7ytsb04A91GxhvLTB9 QJB1LugS5h4w83iGNWhY/odSGXphvj4maHfI/+CgWD9BOMBskcE2xFGZwiPIXFAyX4 gvwUPsySTcOkg== Message-ID: Date: Wed, 12 Mar 2025 11:03:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: dblink query interruptibility To: Noah Misch Cc: pgsql-hackers@postgresql.org References: <20231122012945.74@rfd.leadboat.com> <20250311234839.9c.nmisch@google.com> Content-Language: en-US From: Andreas Karlsson In-Reply-To: <20250311234839.9c.nmisch@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/12/25 12:48 AM, Noah Misch wrote: > The CREATE DATABASE hang is indeed new in v15. The general dblink missed > interrupt processing (e.g. pg_cancel_backend response delay) is an old bug. Aha, that was what you were referring to! My apologies, was reading your mail a bit too quickly. :) > Commit d3c5f37 used the new functions for postgres_fdw, not just dblink. That > caused message changes detailed in > postgr.es/m/CAHGQGwGpDTXeg8K1oTmDv9nankaKTrCD-XW-tnkzo6%3DE9p5%3Duw%40mail.gmail.com > so I'm inclined to omit postgres_fdw changes in back branches. postgres_fdw > was already interruptible, so the point of making postgres_fdw adopt the > functions was to reduce code duplication. Makes sense. > Overall, in the absence of objections, I will queue a task to back-patch the > non-postgres_fdw portion of commit d3c5f37 to v13-v16. Thanks! Andreas