Re: No error when FROM is missing in subquery

Поиск
Список
Период
Сортировка
От Nikolay Samokhvalov
Тема Re: No error when FROM is missing in subquery
Дата
Msg-id e431ff4c0612181515v7a7deea2pedd28f0a3c572012@mail.gmail.com
обсуждение исходный текст
Ответ на No error when FROM is missing in subquery  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Ответы Re: No error when FROM is missing in subquery  ("Jaime Casanova" <systemguards@gmail.com>)
Список pgsql-bugs
ok, sorry, I've realized that it's yet another example of "outer
reference", Tom will say "read any SQL book" again :-)

http://archives.postgresql.org/pgsql-bugs/2006-12/msg00115.php

On 12/19/06, Nikolay Samokhvalov <samokhvalov@gmail.com> wrote:
> Following query is considered as correct, no "missing from" error has
> been reported (so, entire table will be updated and "on update"
> triggers will be fired for every row):
>
> update item set obj_id = obj_id
> where obj_id in (select obj_id where item_point is null order by
> obj_modified limit 10)
>
> Is it a bug? If no, maybe to produce warning in such cases?
>
> --
> Best regards,
> Nikolay
>


--
Best regards,
Nikolay

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

Предыдущее
От: "Nikolay Samokhvalov"
Дата:
Сообщение: No error when FROM is missing in subquery
Следующее
От: "Jaime Casanova"
Дата:
Сообщение: Re: No error when FROM is missing in subquery