Re: [HACKERS] Little Suggestion for 6.6 - Mailing list pgsql-hackers

From Daniele Orlandi
Subject Re: [HACKERS] Little Suggestion for 6.6
Date
Msg-id 377963C6.867C4640@orlandi.com
Whole thread Raw
In response to Re: [HACKERS] Little Suggestion for 6.6  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] Little Suggestion for 6.6
List pgsql-hackers

The Hermit Hacker wrote:
> 
> > tacacs=> SELECT * FROM users,counters WHERE users.username=counters.username 
> > AND username='foobar';
> > ERROR:  Column 'username' is ambiguous
> >
> > ...username is NOT ambiguous...
> 
> Of course it is...which username do you want to match on, users.username
> or counters.username?

IMHO it's the same, since they have to be equal...

Pardon me if I'm not seeing something obvious :^)

Bye.

-- Daniele

-------------------------------------------------------------------------------Daniele Orlandi - Utility Line Italia -
http://www.orlandi.comViaMezzera 29/A - 20030 - Seveso (MI) - Italy
 
-------------------------------------------------------------------------------


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [HACKERS] User requests now that 6.5 is out
Next
From: Don Baccus
Date:
Subject: Re: [HACKERS] Little Suggestion for 6.6