Re: SQL flagger

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: SQL flagger
Дата
Msg-id
Pine.LNX.4.44.0301152029270.789-100000@localhost.localdomain
Ответ на
Re: SQL flagger (Fernando Nasser)
Список
Дерево обсуждения
SQL flagger Peter Eisentraut <peter_e@gmx.net>
Re: SQL flagger Tom Lane <tgl@sss.pgh.pa.us>
Fernando Nasser writes:

> THe SQL Flagger is only required for Intermediate SQL.  SQL'92 23.4 says Entry
> SQL may, but are not required to.

SQL 92 is obsolete.  In SQL 99 and later it's a core feature.

> If I understood it correctly, we only need a new elog level and add a few elog
> calls in some of gram.y clauses...

As was already mentioned, you cannot evaluate run-time parameters (which
the flagger would be) in gram.y because of some transaction issues.  You
need to do it in the analyze phase after the parser.

"A few" is also an optimistic statement.  While the majority of the
utility commands can be rejected outright, getting the details right to a
usable degree on the rest is tricky.

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
Сообщение: Re: psql and readline
От: mlw
Дата:
Сообщение: Oracle rant
FAQ