From: Tom Lane <tgl@sss.pgh.pa.us>
To: sean.johnston@edgeintelligence.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14614: Combination of UNION, EXCEPT and ORDER BY produces an error
Date: Fri, 07 Apr 2017 12:19:19 -0400
Message-ID: <10269.1491581959@sss.pgh.pa.us> (raw)
In-Reply-To: <20170407115808.25934.51866@wrigleys.postgresql.org>
References: <20170407115808.25934.51866@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
sean.johnston@edgeintelligence.com writes:
> STATEMENT: ( ( select 1,2,3 ) union ( select 4,5,6 order by 1,2 ) order by
> 1,2 ) except ( select 4,5,6 ) order by 1,2;
> ERROR: no relation entry for relid 0
I've pushed a fix for this. Thanks for the report!
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, sean.johnston@edgeintelligence.com
Subject: Re: BUG #14614: Combination of UNION, EXCEPT and ORDER BY produces an error
In-Reply-To: <10269.1491581959@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