Re: AW: New warning code for missing FROM relations

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: AW: New warning code for missing FROM relations
Дата
Msg-id 3.0.5.32.20000605215732.00ab4d00@mail.rhyme.com.au
обсуждение исходный текст
Ответ на AW: New warning code for missing FROM relations  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Ответы Re: AW: New warning code for missing FROM relations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At 10:02 5/06/00 +0200, Zeugswetter Andreas SB wrote:
>
>> > >    SELECT *
>> > >       INTO TABLE tmp1
>> > >       FROM tmp
>> > >       WHERE onek.unique1 < 2;
>> > >    NOTICE:  Adding missing FROM-clause entry for table onek
>> 
>
>Yes, only Bruce and I are of the opinion that it *is* an Error, and I guess 
>we want some consensus.
>The notice is imho of the sort: notice this syntax is going to be disallowed
>soon.
>

FWIW, I think it's an error too. For me, this situation is *far* more
likely to result from typos than intention, and I want to be told when it
happens. I also want to be prevented from doing it.

I take it that there is no chance of a compile-time or runtime option to
disallow this kind of thing in all cases?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: +61-03-5367 7422            |                 _________  \
Fax: +61-03-5367 7430            |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: INSTALL/install.sgml file
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: ecpg enhance patch