From: Tom Lane <tgl@sss.pgh.pa.us>
To: Regina Obe <lr@pcorp.us>
Cc: 'David Rowley' <david.rowley@2ndquadrant.com>
Cc: 'PostgreSQL-development' <pgsql-hackers@postgresql.org>
Subject: Re: Regression on PostgreSQL 10 ORDER/GROUP BY expression not found in targetlist
Date: Fri, 29 Jun 2018 14:02:20 -0400
Message-ID: <26933.1530295340@sss.pgh.pa.us> (raw)
In-Reply-To: <000701d40fce$d1098a50$731c9ef0$@pcorp.us>
References: <001501d40f88$75186950$5f493bf0$@pcorp.us>
<CAKJS1f9r9-u16wEkQT2sKh5wRf3DJVVPSwoNAoJnnyqhH39dDg@mail.gmail.com>
<000701d40fce$d1098a50$731c9ef0$@pcorp.us>
"Regina Obe" <lr@pcorp.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, lr@pcorp.us, david.rowley@2ndquadrant.com
Subject: Re: Regression on PostgreSQL 10 ORDER/GROUP BY expression not found in targetlist
In-Reply-To: <26933.1530295340@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox