Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pkh3K-0004U8-3r for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Apr 2023 08:02:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pkh3I-0005MP-OO for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Apr 2023 08:02:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pkh3I-0005MG-EZ for pgsql-hackers@lists.postgresql.org; Fri, 07 Apr 2023 08:02:32 +0000 Received: from mail1.dalibo.net ([51.159.93.128] helo=mail.dalibo.com) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pkh3B-001P9v-CT for pgsql-hackers@lists.postgresql.org; Fri, 07 Apr 2023 08:02:31 +0000 Received: from [192.168.0.29] (unknown [78.201.30.201]) by mail.dalibo.com (Postfix) with ESMTPSA id 7A25A1F61E; Fri, 7 Apr 2023 10:01:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1680854461; bh=TxVTIkXHSY51h0zIqsBhDFax9AFOV/qNs4bK0rEZH0c=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OShAFiQGRTXZU5Iqsx9L/z0TypRjgcH7WN99L1lRRg4NCsWACSe2QEu95a51RLzGk bYKdo91ujFuIqvcKWnUhk6EtBhkbxCX++k1GLNOzvJDd/dHDDjjwIjonWlO8mtf77h PqCr4jjva1HjhXNRv3qeE9JxhjbgZERnBmzBpDSY= Message-ID: <6dda529d-e738-33ad-1d2e-0f26e4f803cc@dalibo.com> Date: Fri, 7 Apr 2023 10:01:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel To: Jelte Fennema Cc: Greg Stark , Tom Lane , "Gregory Stark (as CFM)" , Jelte Fennema , Daniel Gustafsson , Peter Eisentraut , Jacob Champion , Andres Freund , Justin Pryzby , Robert Haas , "pgsql-hackers@lists.postgresql.org" References: <2755358.1678816706@sss.pgh.pa.us> <20230328145318.upvrlslcbjyh47ce@dalibo.com> <20230329084314.higpoqp4aqpkg5iq@dalibo.com> Content-Language: fr, en-GB From: Denis Laxalde In-Reply-To: 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 The patch set does not apply any more. I tried to rebase locally; even leaving out 1 ("libpq: Run pgindent after a9e9a9f32b3"), patch 4 ("Start using new libpq cancel APIs") is harder to resolve following 983ec23007b (I suppose). Appart from that, the implementation in v19 sounds good to me, and seems worthwhile. FWIW, as said before, I also implemented it in Psycopg in a sort of an end-to-end validation.