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 1jLZ2v-0003RR-PW for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Apr 2020 21:12:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jLZ2u-0002gw-FC for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Apr 2020 21:12:40 +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 1jLZ2u-0002gp-52 for pgsql-hackers@lists.postgresql.org; Mon, 06 Apr 2020 21:12:40 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jLZ2q-0005Nu-O1 for pgsql-hackers@lists.postgresql.org; Mon, 06 Apr 2020 21:12:39 +0000 Received: by mail-wr1-x442.google.com with SMTP id j17so1197254wru.13 for ; Mon, 06 Apr 2020 14:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OfLd43mwAT1+Dg+Xhg7hFl4uvaNn1ViyA6jwDQjD2eY=; b=cwPR50XEtI5/44aYJ+diOvjzxFU+Z0q2UINnKrRR1cauTcu9LJsn0QI/QvZMbW/iXY s5nE6CXqc586YaUHcCpGHaH2ogSxL4fLVJ1YdyuJMj/8pDFA/V2c5wI/5TMdoPHvxbas IMeYTaiDVz1SdnK5C4PShsI3fXnjfct2mIpuCn+cSzmAtgHj8TgXWAmnW+45Yud2V3St TGh06Fc6E/c9OFNICpoDuUJ7juDZUPrDQuFn47FFg23aza3UHIDx4SPh3zftBIiAu0k2 pDsUHnEAuRBgg3t3oBSYWMnp0Km5XAPUAXR8V1MHafhVuya/Q6r0rHAQDKquJvoRUCba +wMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=OfLd43mwAT1+Dg+Xhg7hFl4uvaNn1ViyA6jwDQjD2eY=; b=eUzCH2FMh0UggR+8o8uxEnzdQYQYH8fR17BrSaQZAro+Mg9Rv3m7CfaaA9ctvGHhMe i40U2Z3NaYwl64CDWT6sBEmHfyErgYmh13Z8UWwxp69AWpZRJhoi8/Gp2v/TzdinJKiQ PP4ZG6naj/oL3/zucG9VLtOG5DJPZtFcH+63QhkpIY+7Z34HKmumfN1IDuxLrbcSvw8v 3zoLbCR2tm9iEy35OGsI51h2A79gqOxaG02v4Pqvch43xLi/vqcX1I+pJneWO+NbQaft mstR18ebfCn/fQICm5mswSfIctUBJVY2nDJDrKyTlb3s/1v+BmWcX0mDR02sBjnK35+h yNUQ== X-Gm-Message-State: AGi0PuZD4uwJqDgcNvDAghp3KL0Vs1GWNrmvAQvSq3sG39XCHmecyLGc tW7p3VlYDNsyF5koTlfUrIwO1A== X-Google-Smtp-Source: APiQypIJDRL6gN3Czj9EdmsSpu8J8ppbYvlFQaNSmsNEnCY7a0EbyqB+FGo9MjOwclDq8gSzbZR4aA== X-Received: by 2002:adf:ed86:: with SMTP id c6mr1170546wro.286.1586207554720; Mon, 06 Apr 2020 14:12:34 -0700 (PDT) Received: from localhost (ip-86-49-253-141.net.upcbroadband.cz. [86.49.253.141]) by smtp.gmail.com with ESMTPSA id j11sm22778138wro.51.2020.04.06.14.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 14:12:33 -0700 (PDT) Date: Mon, 6 Apr 2020 23:12:32 +0200 From: Tomas Vondra To: Alvaro Herrera Cc: Tom Lane , James Coleman , Michael Paquier , Rafia Sabih , Peter Geoghegan , Simon Riggs , Shaun Thomas , Dmitry Dolgov <9erthalion6@gmail.com>, Alexander Korotkov , PostgreSQL Developers , Andreas Karlsson Subject: Re: [PATCH] Incremental sort (was: PoC: Partial sort) Message-ID: <20200406211232.35s2gmygrfx3ljrj@development> References: <19920.1586206115@sss.pgh.pa.us> <20200406205438.GA30063@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200406205438.GA30063@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Apr 06, 2020 at 04:54:38PM -0400, Alvaro Herrera wrote: >On 2020-Apr-06, Tom Lane wrote: > >> Locally, things pass without force_parallel_mode, but turning it on >> produces failures that look similar to rhinoceros's (didn't examine >> other BF members). > >FWIW I looked at the eight failures there were about fifteen minutes ago >and they were all identical. I can confirm that, in my laptop, the >tests work without that GUC, and fail in exactly that way with it. > Yes, there's a thinko in show_incremental_sort_info() and it returns too soon. I'll push a fix in a minute. thanks -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services