Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fY1Ri-0002gf-9E for pgsql-general@arkaria.postgresql.org; Wed, 27 Jun 2018 03:48:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fY1Re-0000fw-6H for pgsql-general@arkaria.postgresql.org; Wed, 27 Jun 2018 03:48:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fY1Rd-0000fp-Um for pgsql-general@lists.postgresql.org; Wed, 27 Jun 2018 03:48:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fY1RV-0005R9-KF for pgsql-general@lists.postgresql.org; Wed, 27 Jun 2018 03:48:36 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w5R3mNGY017163; Tue, 26 Jun 2018 23:48:23 -0400 From: Tom Lane To: Guy Burgess cc: pgsql-general@lists.postgresql.org Subject: Re: CTE optimization fence In-reply-to: References: Comments: In-reply-to Guy Burgess message dated "Wed, 27 Jun 2018 15:42:47 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23732.1530071303.1@sss.pgh.pa.us> Date: Tue, 26 Jun 2018 23:48:23 -0400 Message-ID: <23733.1530071303@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Guy Burgess writes: > I see there was some discussion last year about removing the CTE > optimization fence (e.g. > http://www.postgresql-archive.org/CTE-inlining-td5958992.html) but can't > find anything more recent. Does anyone know if this is still under > consideration? Nothing's actually happened since then ... it's still under consideration, but we have to settle on a way of controlling it. regards, tom lane