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 1l6FhJ-0008Uf-8l for pgsql-bugs@arkaria.postgresql.org; Sun, 31 Jan 2021 16:35:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6FhF-00041o-N9 for pgsql-bugs@arkaria.postgresql.org; Sun, 31 Jan 2021 16:35:33 +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 1l6FhF-00041g-Ga for pgsql-bugs@lists.postgresql.org; Sun, 31 Jan 2021 16:35:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6FhD-00039G-LT for pgsql-bugs@lists.postgresql.org; Sun, 31 Jan 2021 16:35:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 10VGZSpg3087618; Sun, 31 Jan 2021 11:35:28 -0500 From: Tom Lane To: contact@yorhel.nl cc: pgsql-bugs@lists.postgresql.org, Tomas Vondra Subject: Re: BUG #16846: "retrieved too many tuples in a bounded sort" In-reply-to: <3086429.1612109768@sss.pgh.pa.us> References: <16846-ae49f51ac379a4cb@postgresql.org> <3086429.1612109768@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sun, 31 Jan 2021 11:16:08 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3087616.1612110928.1@sss.pgh.pa.us> Date: Sun, 31 Jan 2021 11:35:28 -0500 Message-ID: <3087617.1612110928@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ... btw, I did confirm that set enable_incremental_sort = 0; makes the error go away. So that might do as a temporary workaround until we fix it. regards, tom lane