Re: reloptions with a "namespace"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: reloptions with a "namespace"
Дата
Msg-id 21306.1238789512@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: reloptions with a "namespace"  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: reloptions with a "namespace"  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribi�:
>> Surely this will break other things.  I find myself wondering why you
>> invented ReloptElem at all, instead of adding a field to DefElem.

> I had to, precisely because it messes up other uses of DefElem ...

> For example, the grammar would allow
> CREATE FUNCTION ... WITH something.name = value
> which we certainly don't want.

Well, you could still have separate productions that did or didn't allow
qualified names there (or perhaps better, have the code in
functioncmds.c reject qualified names).  I think the use of two different
node types is going to result in duplicate coding and/or bugs deeper in
the system, however.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: reloptions with a "namespace"
Следующее
От: Robert Haas
Дата:
Сообщение: Re: a few crazy ideas about hash joins