Thread: ATExecColumnDefault comments

ATExecColumnDefault comments

From
jian he
Date:
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.