gram.y comment issue - Mailing list pgsql-bugs

From 张文升
Subject gram.y comment issue
Date
Msg-id 56DFBCD0.7050909@qunar.com
Whole thread Raw
Responses Re: gram.y comment issue
List pgsql-bugs
hello,

The gram.y  includes the line(line:1965):
/* ALTER TABLE <name> ALTER [COLUMN] <colname> SET ( column_parameter =
value [, ... ] ) */
ALTER opt_column ColId RESET reloptions

The comment has the word "SET", but I think that's should be "RESET".

and

src/include/nodes/parsenodes.h line:141
List      *distinctClause; /* a list of SortGroupClause's */
The comment has the word "SortGroupClause", but that's should be
"distinctClause".

I apologize if this is too small of an error to be considered a bug, but I
figured that we want to be the best we can.

       regards,wensheng zhang

--
----------------------
张文升 | PostgreSQL DBA




pgsql-bugs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: BUG #14007: log_statement doesn't work when applied to a 'group'
Next
From: Amit Langote
Date:
Subject: Re: gram.y comment issue