pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Johnston <polobo@yahoo.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery
Date: Thu, 12 Sep 2013 16:12:42 -0700 (PDT)
Message-ID: <1379027562361-5770654.post@n5.nabble.com> (raw)
In-Reply-To: <E1VJuBy-0002a1-Qv@wrigleys.postgresql.org>
References: <E1VJuBy-0002a1-Qv@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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-s...
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



view thread (5+ messages)  latest in thread

Message-ID: <1379027562361-5770654.post@n5.nabble.com>
Permalink:  ../1379027562361-5770654.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1379027562361-5770654.post@n5.nabble.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: polobo@yahoo.com
  Subject: Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery
  In-Reply-To: <1379027562361-5770654.post@n5.nabble.com>
  References: <E1VJuBy-0002a1-Qv@wrigleys.postgresql.org> <1379027562361-5770654.post@n5.nabble.com>

* 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