Re: Allow COMMENT ON to accept an expression rather than just a string - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Allow COMMENT ON to accept an expression rather than just a string
Date
Msg-id 16856.1239458871@sss.pgh.pa.us
Whole thread Raw
In response to Allow COMMENT ON to accept an expression rather than just a string  (Abhijit Menon-Sen <ams@oryx.com>)
Responses Re: Allow COMMENT ON to accept an expression rather than just a string
List 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 by date:

Previous
From: Hitoshi Harada
Date:
Subject: Re: Closing some 8.4 open items
Next
From: Tom Lane
Date:
Subject: pg_dumpall --clean is completely broken