Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 612E29FBE83; Fri, 6 Apr 2007 20:46:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 56771-03; Fri, 6 Apr 2007 20:46:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from fetter.org (start.fetter.org [66.92.188.65]) by postgresql.org (Postfix) with ESMTP id 982279FBE2E; Fri, 6 Apr 2007 20:46:05 -0300 (ADT) Received: by fetter.org (Postfix, from userid 500) id C8359F3CC9C; Fri, 6 Apr 2007 16:46:03 -0700 (PDT) Date: Fri, 6 Apr 2007 16:46:03 -0700 From: David Fetter To: PostgreSQL Docs , PostgreSQL Patches Subject: Fix misleading references to columns in GRANT/REVOKE summaries Message-ID: <20070406234603.GI3784@fetter.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/2 X-Sequence-Number: 4198 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Folks, Per a question Alexey Parshin asked in the IRC channel, I'm attaching a patch to the GRANT and REVOKE syntax summaries which replaces the misleading word "column" with "parameter." "Column" is misleading because it could be read to imply a column-level GRANT/REVOKE, which we don't have yet. Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! Consider donating to PostgreSQL: http://www.postgresql.org/about/donate --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fix_grant_revoke.diff" Index: doc/src/sgml/ref/grant.sgml =================================================================== RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/grant.sgml,v retrieving revision 1.64 diff -c -r1.64 grant.sgml *** doc/src/sgml/ref/grant.sgml 1 Feb 2007 00:28:19 -0000 1.64 --- doc/src/sgml/ref/grant.sgml 6 Apr 2007 23:39:20 -0000 *************** *** 525,531 **** GRANT privileges ! ON table [ ( column [, ...] ) ] [, ...] TO { PUBLIC | username [, ...] } [ WITH GRANT OPTION ] --- 525,532 ---- GRANT privileges ! ON table [ ( ! parameter [, ...] ) ] [, ...] TO { PUBLIC | username [, ...] } [ WITH GRANT OPTION ] Index: doc/src/sgml/ref/revoke.sgml =================================================================== RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/revoke.sgml,v retrieving revision 1.42 diff -c -r1.42 revoke.sgml *** doc/src/sgml/ref/revoke.sgml 31 Jan 2007 23:26:04 -0000 1.42 --- doc/src/sgml/ref/revoke.sgml 6 Apr 2007 23:39:20 -0000 *************** *** 235,241 **** REVOKE [ GRANT OPTION FOR ] privileges ! ON object [ ( column [, ...] ) ] FROM { PUBLIC | username [, ...] } { RESTRICT | CASCADE } --- 235,242 ---- REVOKE [ GRANT OPTION FOR ] privileges ! ON object [ ( ! parameter [, ...] ) ] FROM { PUBLIC | username [, ...] } { RESTRICT | CASCADE } --3V7upXqbjpZ4EhLz--