Re: Allow COMMENT ON to accept an expression rather than just a string

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allow COMMENT ON to accept an expression rather than just a string
Дата
Msg-id 16856.1239458871@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Allow COMMENT ON to accept an expression rather than just a string  (Abhijit Menon-Sen <ams@oryx.com>)
Ответы Re: Allow COMMENT ON to accept an expression rather than just a string  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Abhijit Menon-Sen <ams@oryx.com> writes:
> There's a TODO item about making COMMENT ON accept an expression. The
> grammar change is simple (SConst|NULL_P->a_expr), but as far as I can
> see, there are no similar utility commands that take expressions, and
> I'm not very familiar with the planner and executor, so I could use
> some advice about how to evaluate the expression.

There aren't *any* utility commands that take expressions, and I would
say that that TODO item is seriously mis-scoped.  What is the use of
making COMMENT in particular do this?  Fixing all of them might be
interesting.
        regards, tom lane


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

Предыдущее
От: Hitoshi Harada
Дата:
Сообщение: Re: Closing some 8.4 open items
Следующее
От: Tom Lane
Дата:
Сообщение: pg_dumpall --clean is completely broken