Re: Misnamed field in subquery does not cause error when field name exists in parent query

Поиск
Список
Период
Сортировка
От Rick Innis
Тема Re: Misnamed field in subquery does not cause error when field name exists in parent query
Дата
Msg-id D3AD3174-312F-4D33-B705-41FC255A89E9@gmail.com
обсуждение исходный текст
Ответ на Re: Misnamed field in subquery does not cause error when field name exists in parent query  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-sql
On 22-Dec-07, at 7:14 PM, Michael Glaesemann wrote:

>
>> It may be that SQL is doing exactly as it should, since 'id' is in  
>> scope within the subselect, but  if that's the case it's a nasty  
>> gotcha.
>
> Yes, and yes.

Ow. Thanks for confirming both my suspicions and my fears :-)

R.



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: slow query - only uses indices
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Advice for generalizing trigger functions