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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Allow COMMENT ON to accept an expression rather than just a string
Дата
Msg-id 200904111715.n3BHFoZ11347@momjian.us
обсуждение исходный текст
Ответ на Re: Allow COMMENT ON to accept an expression rather than just a string  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Allow COMMENT ON to accept an expression rather than just a string  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Tom Lane wrote:
> 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.

I remember adding the TODO after a request from the user, but I have not
seen further requests.  I have remove the item;  let's see if we get any
further requests for it.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Crash in gist insertion on pathological box data
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Patch for 8.5, transformationHook