Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zb0hP-00043v-1y for pgsql-hackers@arkaria.postgresql.org; Sun, 13 Sep 2015 06:23:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zb0hO-0003T2-76 for pgsql-hackers@arkaria.postgresql.org; Sun, 13 Sep 2015 06:23:38 +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 1Zb0g5-0001zV-V8 for pgsql-hackers@postgresql.org; Sun, 13 Sep 2015 06:22:18 +0000 Received: from 9v6.net-wizard.org ([2a01:4f8:161:5382::9] helo=aragorn.net-wizard.org) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zb0g2-0005pq-BJ for pgsql-hackers@postgresql.org; Sun, 13 Sep 2015 06:22:17 +0000 Received: from localhost (debian [127.0.0.1]) by mail.net-wizard.org (Postfix) with ESMTP id 80214C404B7 for ; Sun, 13 Sep 2015 08:22:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at gandalf.net-wizard.org Received: from gandalf.net-wizard.org ([127.0.0.1]) by localhost (gandalf.net-wizard.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KbVg-OHlwLw1 for ; Sun, 13 Sep 2015 08:22:10 +0200 (CEST) Received: from MTEC0211 (mtec-lee-dock-2-133.ethz.ch [129.132.6.133]) (Authenticated sender: clavadetscher@swisspug.org) by aragorn.net-wizard.org (Postfix) with ESMTPSA id A0FC1C40876 for ; Sun, 13 Sep 2015 08:22:01 +0200 (CEST) From: "Charles Clavadetscher" To: References: <016a01d0ede6$1fc6af00$5f540d00$@swisspug.org> In-Reply-To: <016a01d0ede6$1fc6af00$5f540d00$@swisspug.org> Subject: [DOCS] Missing COMMENT ON POLICY Date: Sun, 13 Sep 2015 08:21:55 +0200 Message-ID: <016c01d0edec$81975df0$84c619d0$@swisspug.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_016D_01D0EDFD.45202DF0" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQH/prVH2eW7nY5uhvsZoFxPI8toT53cilAw Content-Language: de-ch X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is a multipart message in MIME format. ------=_NextPart_000_016D_01D0EDFD.45202DF0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello Well I gave it a try. I am still not very well aware how the process for suggesting or submitting corrections work, but this is as far as I got. In the attachment is a patch for the missing entry for POLICY in the documentation on COMMENT that I mentioned earlier on pgsql-docs. Hope this helps. Regards Charles -----Original Message----- From: pgsql-docs-owner@postgresql.org [mailto:pgsql-docs-owner@postgresql.org] On Behalf Of Charles Clavadetscher Sent: Sonntag, 13. September 2015 07:36 To: pgsql-docs@postgresql.org Subject: [DOCS] Missing COMMENT ON POLICY Hello Lately I am working intensively with the documentation capabilities of PostgreSQL and I noticed that, although the functionality is available in 9.5 to add a comment to a policy, there is no entry for in the documentation http://www.postgresql.org/docs/9.5/static/sql-comment.html Probably it would look like: COMMENT ON POLICY policy_name ON table_name | Between OPERATOR FAMILY object_name USING index_method | and [ PROCEDURAL ] LANGUAGE object_name | Regards Charles -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs ------=_NextPart_000_016D_01D0EDFD.45202DF0 Content-Type: application/softgrid-patch; name="comment_on_policy.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="comment_on_policy.patch" commit 0327154ba838894ccfb3420daed94b9832fd8bfa=0A= Author: Charles Clavadetscher =0A= Date: Sun Sep 13 08:08:00 2015 +0200=0A= =0A= Added POLICY to list of COMMENT ON objects.=0A= =0A= diff --git a/doc/src/sgml/ref/comment.sgml b/doc/src/sgml/ref/comment.sgml= =0A= index 1030738..2133e77 100644=0A= --- a/doc/src/sgml/ref/comment.sgml=0A= +++ b/doc/src/sgml/ref/comment.sgml=0A= @@ -43,6 +43,7 @@ COMMENT ON=0A= OPERATOR operator_name (<= replaceable class=3D"PARAMETER">left_type, right_type) |=0A= OPERATOR CLASS object_name USING index_method |=0A= OPERATOR FAMILY object_name USING index_method |=0A= + POLICY policy_name ON table_name |=0A= [ PROCEDURAL ] LANGUAGE object_name |=0A= ROLE object_name |=0A= RULE rule_name ON table_name |=0A= ------=_NextPart_000_016D_01D0EDFD.45202DF0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers ------=_NextPart_000_016D_01D0EDFD.45202DF0--