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 1fYySY-0001Ew-2S for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Jun 2018 18:49:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fYySW-0000cY-Hu for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Jun 2018 18:49:28 +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.89) (envelope-from ) id 1fYySW-0000cL-3u for pgsql-hackers@lists.postgresql.org; Fri, 29 Jun 2018 18:49:28 +0000 Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fYyST-00048U-85 for pgsql-hackers@postgresql.org; Fri, 29 Jun 2018 18:49:26 +0000 Received: by mail-qt0-x22c.google.com with SMTP id a18-v6so8725376qtj.4 for ; Fri, 29 Jun 2018 11:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=E4+WRtHlaWkufT74ORhZm6Qg8cms4ocgpMr43oK6LOY=; b=J0ul/bWvJEp1fVpHSNIhiMK7LOpt8thPj01iX/evdcz5sE1+97G3eBG0zjiCjH3f/Y C9Yd/iS8Itof93LFuPz72x5nZVyD5PR8ZFCtr0aYzqAScjihXjEyr/0cHhYby8VKHwME XQY0wy4MEF+67eKdrkdmBMytbvc+5f1kxjfUaNQ2Z6r+TotrVH4G75Q9w822Yw7ahXNM UJOgj24ogMnMdIS7ognjdkIXOEXeaL4e2crcnp+isO0sDkJLUzB6MM/PT51giCecDIiN h8mb+i/agwrj+87WJ/eMb8CdAR2QyXWLAVbrIUF26om2n7uS+eyIY21m2Ka6KFEWKf3c b5Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=E4+WRtHlaWkufT74ORhZm6Qg8cms4ocgpMr43oK6LOY=; b=ssnjTWxCRD6oa0RiCA5KeESNjU8Q4x44eRxVEPWZKQQMJiKWwhhJTOB75+zI9C/n2+ 5z1ga3apLhLBqrNiwDP+KFhCrq6uvri6WWDYItCHKJWLiocuRJRp0N+7YI/FSMAUg4IV IUIVJmr5Pif2GEFWRL1L7hzFKz+iN5enDQfEFm3ahp8o/hJBxo3Bicd00F3tE9hsr8lM E0oxW04MGZVS9pqzWlZ6Ul0Vu+CCTeMd1yaLfu/MD8LMzxCNQ0hNe9vHTVjqjm2SS6AX ICmmtRcbmppePNcayHadd/dRtX/cla0erG7Bk+rM3avEwLKMldCpSXYkJse+gGHEDCHg 7hyQ== X-Gm-Message-State: APt69E20xOqIX+oIWMGxAy0h7RLU4xoTAAOFPXhLq8PrywZXpX25wHgS o3iyJTbVTrXOxuYj/oSXUK/vog== X-Google-Smtp-Source: AAOMgpc6YmafZCohPWUZqO0oXe1Hfr4ia4PI/cP7/ZrKo+WL5Cj1Yua2AAG7L0o9crWY5oZk40KI5g== X-Received: by 2002:aed:3ec4:: with SMTP id o4-v6mr14626180qtf.252.1530298164011; Fri, 29 Jun 2018 11:49:24 -0700 (PDT) Received: from R (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id c26-v6sm6494101qtj.49.2018.06.29.11.49.23 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Jun 2018 11:49:23 -0700 (PDT) From: "Regina Obe" To: "'Tom Lane'" Cc: "'David Rowley'" , "'PostgreSQL-development'" References: <001501d40f88$75186950$5f493bf0$@pcorp.us> <000701d40fce$d1098a50$731c9ef0$@pcorp.us> <26933.1530295340@sss.pgh.pa.us> In-Reply-To: <26933.1530295340@sss.pgh.pa.us> Subject: RE: Regression on PostgreSQL 10 ORDER/GROUP BY expression not found in targetlist Date: Fri, 29 Jun 2018 14:49:33 -0400 Message-ID: <001301d40fd9$ec5b18e0$c5114aa0$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJsRSJPxw50c9w80aArPo91dZMGXgJZOOQ+AS1wVHYCKU69nKMZqTkQ Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > "Regina Obe" writes: > > Here is a trivial example to exercise that doesn't involve PostGIS. > > > CREATE TABLE edge AS SELECT 1 AS edge_id; SELECT 't3280', 'L1b' || > > generate_series(1,10) FROM edge ORDER BY 1; > > That's odd. It works fine in HEAD but not the v10 branch. I suspect that the > fix David mentioned failed to cover some case related to the issue we saw > last week ... but why the cross-version difference? > > Don't have time to investigate further right now. > > regards, tom lane Yes, that concerned me too because our PostgreSQL 11 head is the first to run in our battery of tests So I would have expected any change in 10 would be committed in 11 as well and 11 would fail too, but it didn't. Thanks, Regina