Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egEBi-0005oX-A6 for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Jan 2018 18:29:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egEBh-0001zD-0c for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Jan 2018 18:29:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1egEBg-0001z3-Nw for pgsql-bugs@lists.postgresql.org; Mon, 29 Jan 2018 18:29:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egEBe-00063E-Dd for pgsql-bugs@postgresql.org; Mon, 29 Jan 2018 18:29:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w0TITeBA005615; Mon, 29 Jan 2018 13:29:40 -0500 From: Tom Lane To: Andres Freund cc: Tomas Vondra , "Todd A. Cook" , Thomas Munro , PostgreSQL Bugs Subject: Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop In-reply-to: <55838447-FFA9-4E48-B204-8B37385704A8@anarazel.de> References: <219b37b2-d740-d04a-203a-49ae422028f7@blackducksoftware.com> <1773c302-2fb1-749f-8ccc-62b23617c5ac@blackducksoftware.com> <25629.1512580464@sss.pgh.pa.us> <20171206171923.dg7phzfh7nb4lou3@alap3.anarazel.de> <7de4b2d6-b119-7d15-04d8-4c0fcb29cbc3@2ndquadrant.com> <20180126234537.dyu6jwnqz7snpq7n@alap3.anarazel.de> <14184.1517010515@sss.pgh.pa.us> <20180129010213.rt3nu73ilff756f6@alap3.anarazel.de> <3971fa24-285b-1c57-db95-b15c513162c1@2ndquadrant.com> <20180129170631.kdr2dtu5rodvovhv@alap3.anarazel.de> <4595.1517249498@sss.pgh.pa.us> <55838447-FFA9-4E48-B204-8B37385704A8@anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 29 Jan 2018 10:14:53 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5613.1517250580.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 29 Jan 2018 13:29:40 -0500 Message-ID: <5614.1517250580@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On January 29, 2018 10:11:38 AM PST, Tom Lane wrote: >> Since the release wrap is this coming Monday, there's not really time >> to wait and do something after FOSDEM ... > I'm not sure what you're arguing for? I have measured the performance im= pacts, and am happy. That's why I do not want to wait till then. Doing ad= ditional benchmarks after commit can't hurt tho... I'm arguing for not waiting. If Tomas does some more benchmarking and finds something else we can improve, that's fine, but the stop-growing patch is already an important fix compared to 10.1. regards, tom lane