Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKG4A-0006RD-Hm for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Sep 2013 23:12:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VKG4A-0001uy-0u for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Sep 2013 23:12:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKG48-0001uj-2B for pgsql-bugs@postgresql.org; Thu, 12 Sep 2013 23:12:48 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKG44-00022L-Al for pgsql-bugs@postgresql.org; Thu, 12 Sep 2013 23:12:47 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VKG42-0001Cw-C1 for pgsql-bugs@postgresql.org; Thu, 12 Sep 2013 16:12:42 -0700 Date: Thu, 12 Sep 2013 16:12:42 -0700 (PDT) From: David Johnston To: pgsql-bugs@postgresql.org Message-ID: <1379027562361-5770654.post@n5.nabble.com> In-Reply-To: References: Subject: Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 1.8 (+) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org A much more simple example courtesy of Chris Travers from the original -general thread that I suggested be moved to -bugs. > Here is a minimal query that demonstrates the problem. In 9.1 it works: > > chris=# select * FROM current_user u join (current_user u cross join > current_user v) x on true; > u | u | v > -------+-------+------- > chris | chris | chris > (1 row) > > On 9.3 it fails: > ERROR: table name "u" specified more than once > > It may be a silly example but it works. -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-8444-ERROR-table-name-tblb-specified-more-than-once-in-subquery-tp5770540p5770654.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs