gram.y comment issue

From: 张文升 <wensheng(dot)zhang(at)qunar(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: gram.y comment issue
Date: 2016-03-09 06:04:00
Message-ID: 56DFBCD0.7050909@qunar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Valeriy A. 2016-03-09 10:46:36 Re: BUG #13920: pg_try_advisory_xact_lock bigint trouble
Previous Message David G. Johnston 2016-03-08 23:21:12 Re: BUG #14007: log_statement doesn't work when applied to a 'group'