Re: NUMERIC key word

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NUMERIC key word
Дата
Msg-id 23408.1201630827@sss.pgh.pa.us
обсуждение исходный текст
Ответ на NUMERIC key word  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: NUMERIC key word  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> In 8.3, it appears that NUMERIC doesn't need to be a key word any longer.  See
> attached patch.  Was there a reason this was kept in the parser?  Otherwise
> we could remove it in 8.4.

The reason it was kept was to override the search path --- unqualified
NUMERIC will always be taken as pg_catalog.numeric even if you have some
other type "numeric" in front of it.  I believe we had concluded that this
behavior is required by the SQL spec.  In any case, it would be kinda
weird for DECIMAL to have that behavior and NUMERIC not.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: NUMERIC key word
Следующее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: WIP: plpgsql source code obfuscation