Re: [HACKERS] Re: aliases break my query

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [HACKERS] Re: aliases break my query
Дата
Msg-id 3934731C.C2D35105@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: aliases break my query  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Список pgsql-sql
> At one time Bruce had made some patches to emit informative notice
> messages about implicit FROM entries, but that got turned off again
> for reasons that I forget...

It was triggered with common cases from the "outer join" syntax. It took
a while to track down since it was introduced while I was working on the
syntax feature :(

If it *really* needs to be put back in, then we should do so with a flag
so we can disable the warning at compile time, run time, and/or in the
outer join parser area. But imho sprinkling the parser with warnings for
allowed syntax is heading the wrong direction. If it is legal, allow it.
If it is illegal, disallow it. If it is confusing for some, but works
fine for others, it shouldn't become "sort of legal" with a warning.
                  - Thomas


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

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: does the' text' type cann't store more than 20,000char ?
Следующее
От: SL Baur
Дата:
Сообщение: Re: Pg/PLSQL Errors!!