Re: [HACKERS] Little Suggestion for 6.6

Поиск
Список
Период
Сортировка
От Daniele Orlandi
Тема Re: [HACKERS] Little Suggestion for 6.6
Дата
Msg-id 377963C6.867C4640@orlandi.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Little Suggestion for 6.6  (The Hermit Hacker <scrappy@hub.org>)
Ответы Re: [HACKERS] Little Suggestion for 6.6  (The Hermit Hacker <scrappy@hub.org>)
Список 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 по дате отправления:

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: [HACKERS] User requests now that 6.5 is out
Следующее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] Little Suggestion for 6.6