ATExecColumnDefault comments

Started by jian heover 1 year ago1 messages
#1jian he
jian.universality@gmail.com

hi.
one minor issue for ATExecColumnDefault comments.

/*
* ALTER TABLE ALTER COLUMN SET/DROP DEFAULT
*
* Return the address of the affected column.
*/
static ObjectAddress
ATExecColumnDefault(Relation rel, const char *colName,
Node *newDefault, LOCKMODE lockmode)

the comment should be:
* ALTER TABLE ALTER COLUMN SET/DROP DEFAULT
* ALTER VIEW ALTER COLUMN SET/DROP DEFAULT
?

Sometimes, comments are useful for quickly glance at what this function does.
Therefore I guess reword it would be helpful.