Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1adXFR-0000gB-WC for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Mar 2016 06:05:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1adXFR-0000EB-El for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Mar 2016 06:05:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1adXEo-0007t7-Bi for pgsql-bugs@postgresql.org; Wed, 09 Mar 2016 06:04:50 +0000 Received: from [59.151.11.101] (helo=Exchange02.qunarservers.com) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1adXEd-0006OK-Cd for pgsql-bugs@postgresql.org; Wed, 09 Mar 2016 06:04:47 +0000 Received: from EXCHANGE45.qunarservers.com (120.132.35.202) by EXCHANGE02.qunarservers.com (59.151.11.101) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 9 Mar 2016 14:04:00 +0800 Received: from [10.89.129.145] (10.89.129.145) by exchange45.qunarservers.com (10.90.4.18) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 9 Mar 2016 14:04:00 +0800 Message-ID: <56DFBCD0.7050909@qunar.com> Date: Wed, 9 Mar 2016 14:04:00 +0800 From: =?UTF-8?B?5byg5paH5Y2H?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Subject: gram.y comment issue Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.89.129.145] X-Host-Lookup-Failed: Reverse DNS lookup failed for 59.151.11.101 (deferred) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org hello, The gram.y includes the line(line:1965): /* ALTER TABLE ALTER [COLUMN] 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs