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 1rUQ4U-00AmC2-Vn for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Jan 2024 11:45:03 +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 1rUQ4M-00DYBN-Ug for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Jan 2024 11:44: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.94.2) (envelope-from ) id 1rUQ4L-00DYBE-Ly for pgsql-hackers@lists.postgresql.org; Mon, 29 Jan 2024 11:44:54 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rUQ4H-004KSJ-Ry for pgsql-hackers@lists.postgresql.org; Mon, 29 Jan 2024 11:44:53 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8435A5C011D; Mon, 29 Jan 2024 06:44:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 29 Jan 2024 06:44:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706528687; x= 1706615087; bh=Yks9CTZ5ueBpzOafexctpnxXXugOXvrQL3QnGcPRAmA=; b=a 3jRttgpBDO/zh4BOyztsBVPzj2v6IN2aGo+82+h+exZYBzVI0zxV3HSwh5VaMkTf Zkiiuc8x7uZMNSuP0PrQAwZk+KfPUGN+ZMoq9x1LMCFEqEtKaM/HM8CaJaGyXowp amX1bhd5GaK8kYtHoyEhHQKAOfoDI+JgWjU9yYaplDMGKSfjqhZv/DaEePcIb4e7 hWEDoIH+WUqz2aAya3WsasJ+anNi1y1qSp/DhzGNCJmsYvqmQdLZruV3182E7cT+ klK3914J9lrDnY1oQB4Eq09pAf8Z6kpCIzsZD+R9h29kqxkJbZlojOySVIvNHe3r koPEL9nylRU8LrepXvU6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtgedgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Jan 2024 06:44:46 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1706528684; bh=n/Lmaxiw7qjEvve6I07+qPb8M14H+KFP+w7lP5VfXRk=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=PDc22zbqRJoa6xGABQaEKHaS72nSMQ4m+lmgVXVoJuNQJVnf1v1u7mVnPC7B4ofzN l1TnMNIdfV/Z1yRuyJNzSDGau4GXCN8ZYjRJ+qYzF1E77ob7m0RqgChSk3i03c0C8m 8tch0JRsoSRk5hfXktAJjdBRPUIVyBNJZqdOdYe/nmw0H8HzJTEgh6JZsAiydeP9D9 XA37Y5WTRH9+jBQHKE80ANlFE7TBT6HHfOgDK8JMHZY2C/9HgUEpOZztFKxlDPQzKb AKrFcWHRRjuruHxL7zmYxp46hGXdDX/biHrsz6TweIfnvSMm9mS5Dx86cFsaj8Nwjs /21D1T0hz/Wow== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 7F2118B; Mon, 29 Jan 2024 12:44:44 +0100 (CET) Date: Mon, 29 Jan 2024 12:44:44 +0100 From: Alvaro Herrera To: Jelte Fennema-Nio Cc: vignesh C , Thomas Munro , Denis Laxalde , Greg Stark , Tom Lane , "Gregory Stark (as CFM)" , Jelte Fennema , Daniel Gustafsson , Peter Eisentraut , Andres Freund , Justin Pryzby , Robert Haas , "pgsql-hackers@lists.postgresql.org" Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel Message-ID: <202401291144.53mrfgdpwt6d@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Jan-28, Jelte Fennema-Nio wrote: > On Sun, 28 Jan 2024 at 10:51, Jelte Fennema-Nio wrote: > > Both of those are fixed now. > > Okay, there turned out to also be an issue on Windows with > setKeepalivesWin32 not being available in fe-cancel.c. That's fixed > now too (as well as some minor formatting issues). Thanks! I committed 0001 now. I also renamed the new pq_parse_int_param to pqParseIntParam, for consistency with other routines there. Please rebase the other patches. Thanks, -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest "foo" someone someday shall type "supercalifragilisticexpialidocious" (5th Commandment for C programmers)