Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHMSJ-0001q2-Ad for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Jun 2016 02:39:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bHMSI-0000Zp-Tc for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Jun 2016 02:39:22 +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 1bHMSH-0000Z4-Ee for pgsql-hackers@postgresql.org; Mon, 27 Jun 2016 02:39:21 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bHMSA-0001ez-2Z for pgsql-hackers@postgresql.org; Mon, 27 Jun 2016 02:39:19 +0000 Received: by mail-pa0-x22b.google.com with SMTP id bz2so54229539pad.1 for ; Sun, 26 Jun 2016 19:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mQJqVmcssy3GXNjYlhA3DFmHHPZzlrX1lV+IIW5+ojs=; b=VUsIC0Qiz3Z3Zdtgjxmgwy16g/X3a5PfETp/XC3vqi4OSfUDakQezktcqMHCEzJWAC rONYWgdNq7Er0vydPAY2KKwga/tijwrytVyO2yUFxTzVCZ9t5ypJP42lC7ByTkvPxFWZ dIMaHL6FZIZeVPHu6TCaGh9FP1P6M+5fb/N2I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mQJqVmcssy3GXNjYlhA3DFmHHPZzlrX1lV+IIW5+ojs=; b=K8z0wAQvXzzH7Oj0c9qXt9gOjWa7O01tYRHZex1qzMZD5RRsOQn2oGciIeXRzAb3Bc hHNgoA6xUqst+JcHnGmRXmXzL9JQBEzslCCi80eE2dcIdHP2DeTEYtPyelHZKh/kjPzb b/kvTAO9Sr52LGhUFeqTJ/q2+wvc18TyHvci2NdJfbWgw156M7bPmt8VZU8wKfwXGuaF 6g7pHzDmtjKDCo6vBMFqV6kihZVlNOia2XZMgopxsHxAttgys2TH42Eal7Y6F97UOM5o Iy8vY61e0jH58ZweJ8WurcpHMPztdD5pbFd9EJTlFPHAVWcAn4Y7qytwGKvjMaEMkE6L p0/Q== X-Gm-Message-State: ALyK8tJOumUkuYjW2Tz5gNQs4DLnmWzveY5XRJZK+ix604gPhVZp4M22M0MWWire4DjHXA== X-Received: by 10.66.248.35 with SMTP id yj3mr29329202pac.138.1466995152758; Sun, 26 Jun 2016 19:39:12 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id o22sm2420214pfa.15.2016.06.26.19.39.11 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 26 Jun 2016 19:39:12 -0700 (PDT) Date: Sun, 26 Jun 2016 22:39:10 -0400 From: Noah Misch To: Robert Haas Cc: Tom Lane , Amit Kapila , David Rowley , Thomas Munro , Pg Hackers Subject: Re: ERROR: ORDER/GROUP BY expression not found in targetlist Message-ID: <20160627023910.GB1329944@tornado.leadboat.com> References: <15695.1465827695@sss.pgh.pa.us> <17170.1465830165@sss.pgh.pa.us> <20756.1465834072@sss.pgh.pa.us> <1597.1465846969@sss.pgh.pa.us> <20391.1465850779@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20391.1465850779@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Mon, Jun 13, 2016 at 04:46:19PM -0400, Tom Lane wrote: > Robert Haas writes: > > In practice, we don't yet have the ability for > > parallel-safe paths from subqueries to affect planning at higher query > > levels, but that's because the pathification stuff landed too late in > > the cycle for me to fully react to it. > > I wonder if that's not just from confusion between subplans and > subqueries. I don't believe any of the claims made in the comment > adjusted in the patch below (other than "Subplans currently aren't passed > to workers", which is true but irrelevant). Nested Gather nodes is > something that you would need, and already have, a defense for anyway. [Action required within 72 hours. This is a generic notification.] The above-described topic is currently a PostgreSQL 9.6 open item ("fix possible confusion between subqueries and subplans"). Robert, since you committed the patch believed to have created it, you own this open item. If some other commit is more relevant or if this does not belong as a 9.6 open item, please let us know. Otherwise, please observe the policy on open item ownership[1] and send a status update within 72 hours of this message. Include a date for your subsequent status update. Testers may discover new open items at any time, and I want to plan to get them all fixed well in advance of shipping 9.6rc1. Consequently, I will appreciate your efforts toward speedy resolution. Thanks. [1] http://www.postgresql.org/message-id/20160527025039.GA447393@tornado.leadboat.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers