Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery - Mailing list pgsql-bugs

From David Johnston
Subject Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery
Date
Msg-id 1379027562361-5770654.post@n5.nabble.com
Whole thread Raw
In response to BUG #8444: ERROR: table name "tblb" specified more than once in subquery  (maps.on@gmx.net)
Responses Re: Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-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-subquery-tp5770540p5770654.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

pgsql-bugs by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: BUG #8447: With table inheritance, indexes seems to be ignored when looking over indexed fields in base table
Next
From: pulsack.heike@gmx.de
Date:
Subject: BUG #8449: ODBC Failure with Access 10