| From: | Joe Conway <mail(at)joeconway(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Re: GROUP BY + join regression in 7.3 |
| Date: | 2003-04-01 06:23:29 |
| Message-ID: | 3E893061.4000501@joeconway.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> Just out of curiosity ---
Here's what I get:
select * from t1
f1 f2
----------- -----------
1 1
2 2
(2 row(s) affected)
select * from t2
f2 f3
----------- -----------
1 3
(1 row(s) affected)
select t1.f2 from t2 right join t1 on t1.f2 = t2.f2 group by f2
Server: Msg 209, Level 16, State 1, Line 1
Ambiguous column name 'f2'.
select f2 from t2 right join t1 on t1.f2 = t2.f2 group by t1.f2
Server: Msg 209, Level 16, State 1, Line 1
Ambiguous column name 'f2'.
select f2 from t2 right join t1 on t1.f2 = t2.f2 group by f2
Server: Msg 209, Level 16, State 1, Line 1
Ambiguous column name 'f2'.
Server: Msg 209, Level 16, State 1, Line 1
Ambiguous column name 'f2'.
select t1.f2 from t2 right join t1 on t1.f2 = t2.f2 group by t1.f2
f2
-----------
1
2
(2 row(s) affected)
Any other variations you want to see?
Joe
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manfred Koizar | 2003-04-01 08:03:09 | Re: GROUP BY + join regression in 7.3 |
| Previous Message | Tom Lane | 2003-04-01 05:29:46 | Re: GROUP BY + join regression in 7.3 |