[COMMITTERS] pgsql: Re-allow duplicate aliases within aliased JOINs.

2013-11-11 Thread Tom Lane
Re-allow duplicate aliases within aliased JOINs. Although the SQL spec forbids duplicate table aliases, historically we've allowed queries like SELECT ... FROM tab1 x CROSS JOIN (tab2 x CROSS JOIN tab3 y) z on the grounds that the aliased join (z) hides the aliases within it, therefore there i

[COMMITTERS] pgsql: Re-allow duplicate aliases within aliased JOINs.

2013-11-11 Thread Tom Lane
Re-allow duplicate aliases within aliased JOINs. Although the SQL spec forbids duplicate table aliases, historically we've allowed queries like SELECT ... FROM tab1 x CROSS JOIN (tab2 x CROSS JOIN tab3 y) z on the grounds that the aliased join (z) hides the aliases within it, therefore there i