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 1sLkGS-00GKzt-KY for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Jun 2024 14:01: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 1sLkGQ-009gZi-Ro for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Jun 2024 14:01:47 +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 1sLkGQ-009gZZ-0f for pgsql-bugs@lists.postgresql.org; Mon, 24 Jun 2024 14:01:46 +0000 Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sLkGN-002tf4-BU for pgsql-bugs@lists.postgresql.org; Mon, 24 Jun 2024 14:01:45 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.west.internal (Postfix) with ESMTP id 973111C000AF; Mon, 24 Jun 2024 10:01:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 24 Jun 2024 10:01:40 -0400 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=fm2; t=1719237700; x= 1719324100; bh=IIL/louyQCoNH6jlRpv1eaIFKdHCwR5cxemF2YXXSI8=; b=r ITTvdiztmM0DUwMD4cp23MwexPx6gTUBN+7CkvpLTH2ZepaqzTyRm7o7A+dLelmH oFB76mPlQQ3NW+s+YvmxxjQ+M1/dGGrVH9M/PGfdqN2u0xT7hNBrqXFdcOUy8j7Y ST6unBKf1nVnbpQK4ou2/6zuP7zFS1G1SG6AQfnAR1G///37WWcRLgjm0hWQZn5Q 7KIYP9QyTBoezZtY+aSlmw5jhP0g3IeSgmKt23VMp/7PyC5wuqu8fgiATlAvXW9K U6r8aGU92AU+LI45gV1Vd9BIG/uU1JVEAOTqRiyI7x/KJrdOTQeB1+TyU72zmuA2 kl1as77IZHImOnu/y7rdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeeguddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Jun 2024 10:01:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1719237696; bh=C2qyWDpRn5lFPlCTvw473TkSn6w7dzYnRIAoB5/ax7g=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=PvZp0l/tL1v/Pw3a1x6J2ZpnuZz2Z5McfxKhOPDl7+7jT/vPgLdIrf0J/pDYtkjkP cwjpA5br3GaFhI42AgpKkTglYkKZtFJSeYJRNdYKqhfCzm6hCdT49DbkygIq0IHWXQ 1mwr4jkA/5Bqxzvae0rY3a6FYNO6JFY7hFVyfsv0NMph7+jVCPuZwhTS10VLCpP7I5 yBYrllhhAdgip0inA/S9p3iqbg0kUCbLc2GPS6lMUJI8GwsXRfJofcNuOOaK0pjDta ectowhhZbI6cOaatQT/EsWQww9BzXEjnkFcyq5Xk4RhVPX94ex8Kbh9IUtNjXM2uvv exaNNeIFV+fZw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id B2193527; Mon, 24 Jun 2024 07:01:36 -0700 (PDT) Date: Mon, 24 Jun 2024 16:01:36 +0200 From: Alvaro Herrera To: Tender Wang Cc: 1026592243@qq.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943 Message-ID: <202406241401.fqqk6h7f5uaj@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-Jun-24, Tender Wang wrote: > If we abstract the problem that this patch attempts to solve,it would try > to find same elements on two arrays. > The lengths of these two arrays are not guaranteed to be equal. In this > issue, even though the lengths of two arrays > is same, we can't assume the each element on two arrays is same. > > The algorithm used in patch is correct if I understand correctly. Thanks for looking again. I have finally pushed this. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Aprender sin pensar es inútil; pensar sin aprender, peligroso" (Confucio)