Re: syntax warning on

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: syntax warning on
Дата
Msg-id 3B054654.479AF356@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: syntax warning on  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
> Your patch has been added to the PostgreSQL unapplied patches list at:
>         http://candle.pha.pa.us/cgi-bin/pgpatches
> I will try to apply it withing the next 48 hours.
> > I'm just starting to look around the postgres source code.  Anyway, I saw
> > a few lines about syntax warnings in psql that were ifdefed out because
> > they were too annoying.  This patch puts it back in, but only gives the
> > error once per session.

Uh, the warnings were commented out *because they were too annoying*,
but were left in as a placeholder for doing something different later.
I'm not sure that the "something different" should be "annoying only
sometimes" ;)

I'd suggest that this patch not be applied at least until we reopen the
discussion and conclude that raising the annoyance level is A Good
Thing. The last time we had concluded that the role of the backend was
not to teach "proper SQL" but to Just Do It.

Complaining once per session does not give the predictable behavior I
would want.

Comments?

                     - Thomas

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: syntax warning on
Следующее
От: Bruce Momjian
Дата:
Сообщение: ANT fix for frequent recompile