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 1nCI8c-0002R7-Ag for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Jan 2022 09:29:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nCI8a-0003g2-6o for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Jan 2022 09:29:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCI8Z-0003ft-QN for pgsql-hackers@lists.postgresql.org; Tue, 25 Jan 2022 09:29:15 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nCI8U-0007Os-Bi for pgsql-hackers@lists.postgresql.org; Tue, 25 Jan 2022 09:29:14 +0000 Received: from falcon-note (cyclops.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 0762B21C9470; Tue, 25 Jan 2022 12:29:08 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1643102948; bh=PM1AMepSQ75c7YcOerzS4yprzs06l7j6flFEe88DJoQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=VqvJCuK/qoF+PVBcNSmuybItoMGDgdWKRaq/5JdAEZKY6fwyGSTnW48Q9ziCQI8Ng owAXnrEbRWtJtH9PAzlgP4v/cxSHsWRyhiTKpSdiu6VKirngPezSHtGF9EVBhCyIk3 FlOtXHKOT/b1aJlGGypY0Qks0bzwNb7MlFW6pR/0= Message-ID: <379609b13ed86654d40521eca5dd7984a238a1c7.camel@postgrespro.ru> Subject: Re: Fix BUG #17335: Duplicate result rows in Gather node From: Yura Sokolov To: David Rowley Cc: PostgreSQL Developers Date: Tue, 25 Jan 2022 12:29:07 +0300 In-Reply-To: References: <382c3b52071a087fd4357e22959b3ddb05e524b7.camel@postgrespro.ru> Organization: PostgresPro Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk В Вт, 25/01/2022 в 21:20 +1300, David Rowley пишет: > On Tue, 25 Jan 2022 at 20:03, David Rowley wrote: > > On Tue, 25 Jan 2022 at 17:35, Yura Sokolov wrote: > > > And another attempt to fix tests volatility. > > > > FWIW, I had not really seen the point in adding a test for this. I > > did however see a point in it with your original patch. It seemed > > useful there to verify that Gather and GatherMerge did what we > > expected with 1 worker. > > I ended up pushing just the last patch I sent. > > The reason I didn't think it was worth adding a new test was that no > tests were added in the original commit. Existing tests did cover it, Existed tests didn't catched the issue. It is pitty fix is merged without test case it fixes. > but here we're just restoring the original behaviour for one simple > case. The test in your patch just seemed a bit more hassle than it > was worth. I struggle to imagine how we'll break this again. Thank you for attention and for fix. regards, Yura Sokolov.