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 1rn8Zr-00BlrZ-Nq for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Mar 2024 02:54:48 +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 1rn8Zq-009oH4-Ab for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Mar 2024 02:54:46 +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 1rn8Zp-009oGw-PG for pgsql-hackers@lists.postgresql.org; Thu, 21 Mar 2024 02:54:46 +0000 Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rn8Zm-005avU-IX for pgsql-hackers@lists.postgresql.org; Thu, 21 Mar 2024 02:54:44 +0000 Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-dcd9e34430cso517868276.1 for ; Wed, 20 Mar 2024 19:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1710989683; x=1711594483; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=0R8CAwpdp4kbc4T5nTWgffzrAaWqj52GvNWXv5NgyiQ=; b=d4UIc4hh7uopVdWBGzxbc2d6wZpbGCLx0UflrzVTxo3Cx8dZUFBwYxE/m+AVQ7NvhS 3mTzXigMwW10ywiWmrG1wIvfQ3l+Czw6Lz+pU3v8JQhKRhyT7ZabvQ3y+yCpgTj7wBRp cv9LeqHthQDVhovxsI3w08T+5BGydo++Dv6iU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710989683; x=1711594483; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0R8CAwpdp4kbc4T5nTWgffzrAaWqj52GvNWXv5NgyiQ=; b=RXI6aRyCNmI2+Wy7LBBtrORvBCm9TRZnaC0JaDGOtav1/pqjrQyrQw8uAfR11f4zGK 6HXXrHo/TRrvhaiMSxOTXUfPg7vHGaripAvxAWlShEWy8AkMHM2sNNKXjBRcAG3IIzJS 95lwigHEbz9enZwIIWAAwoqlo8sKKRblmeu299wJvNwE1hr7WjTGDxMdIMBESh9LGfVC WXCtUOJUM1jhyIXMpdfY/dvlaVvUwc/YA8OQYswGww4kFyPanxnSAwDR5HAsN2AwFnlx FLsqVUkzmPS5yByzCBgy0C/bWT3yATHpLWUW9Yt/B0CoNBtBKrJgJ987XyIpiC/2lKXx tsdw== X-Forwarded-Encrypted: i=1; AJvYcCXzjxNPF/rdMKjg+TKXWZoSLnjZuo7IDK4GCCo0HWllXMAF0Kb8q2z/5TsPmylPsHMCeX6guUP/TId8Qa/zSf5ph61n0pe1Butx+I7AiDfNgp8P X-Gm-Message-State: AOJu0YzJEZiqHJMTco7SJrAO+Nhfd1JK4GiXJ8cV9blXBwMmFzT2vvOF ZvAfniyqtO3wZYgs5Jh7+L1500SbG7KfMtMF8CTJ0L5WR6IA69nGW7iCvHBC2g== X-Google-Smtp-Source: AGHT+IHN79YxjYlUD4sHWZ3HtAlLQU634Hz5VaJzKlXhIz5qbTfiuCNru/nTMQBm7dnJeaWHF/d03w== X-Received: by 2002:a05:6902:567:b0:dc2:4397:6ad3 with SMTP id a7-20020a056902056700b00dc243976ad3mr19525928ybt.44.1710989682866; Wed, 20 Mar 2024 19:54:42 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id y4-20020a056902052400b00db41482d349sm2777253ybs.57.2024.03.20.19.54.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2024 19:54:42 -0700 (PDT) Date: Wed, 20 Mar 2024 19:54:38 -0700 From: Noah Misch To: Alvaro Herrera Cc: Jelte Fennema-Nio , Jacob Champion , Tom Lane , Denis Laxalde , vignesh C , Thomas Munro , Greg Stark , "Gregory Stark (as CFM)" , Jelte Fennema , Daniel Gustafsson , Peter Eisentraut , Andres Freund , Justin Pryzby , Robert Haas , pgsql-hackers@lists.postgresql.org, Etsuro Fujita Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel Message-ID: <20240321025438.3b@rfd.leadboat.com> References: <202403181840.a5t3xnicfn3b@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202403181840.a5t3xnicfn3b@alvherre.pgsql> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Mar 18, 2024 at 07:40:10PM +0100, Alvaro Herrera wrote: > I enabled the test again and also pushed the changes to dblink, > isolationtester and fe_utils (which AFAICS is used by pg_dump, I recommend adding a libpqsrv_cancel() function to libpq-be-fe-helpers.h, to use from dblink and postgres_fdw. pgxn modules calling PQcancel() from the backend (citus pg_bulkload plproxy pmpp) then have a better chance to adopt the new way.