11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/revoke.sgml,v 1.23 2002/11/21 23:34:43 petere Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/revoke.sgml,v 1.24 2003/01/10 11:02:51 petere Exp $
33PostgreSQL documentation
44-->
55
@@ -20,22 +20,27 @@ REVOKE { { SELECT | INSERT | UPDATE | DELETE | RULE | REFERENCES | TRIGGER }
2020 [,...] | ALL [ PRIVILEGES ] }
2121 ON [ TABLE ] <replaceable class="PARAMETER">tablename</replaceable> [, ...]
2222 FROM { <replaceable class="PARAMETER">username</replaceable> | GROUP <replaceable class="PARAMETER">groupname</replaceable> | PUBLIC } [, ...]
23+ [ RESTRICT ]
2324
2425REVOKE { { CREATE | TEMPORARY | TEMP } [,...] | ALL [ PRIVILEGES ] }
2526 ON DATABASE <replaceable>dbname</replaceable> [, ...]
2627 FROM { <replaceable class="PARAMETER">username</replaceable> | GROUP <replaceable class="PARAMETER">groupname</replaceable> | PUBLIC } [, ...]
28+ [ RESTRICT ]
2729
2830REVOKE { EXECUTE | ALL [ PRIVILEGES ] }
2931 ON FUNCTION <replaceable>funcname</replaceable> ([<replaceable>type</replaceable>, ...]) [, ...]
3032 FROM { <replaceable class="PARAMETER">username</replaceable> | GROUP <replaceable class="PARAMETER">groupname</replaceable> | PUBLIC } [, ...]
33+ [ RESTRICT ]
3134
3235REVOKE { USAGE | ALL [ PRIVILEGES ] }
3336 ON LANGUAGE <replaceable>langname</replaceable> [, ...]
3437 FROM { <replaceable class="PARAMETER">username</replaceable> | GROUP <replaceable class="PARAMETER">groupname</replaceable> | PUBLIC } [, ...]
38+ [ RESTRICT ]
3539
3640REVOKE { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
3741 ON SCHEMA <replaceable>schemaname</replaceable> [, ...]
3842 FROM { <replaceable class="PARAMETER">username</replaceable> | GROUP <replaceable class="PARAMETER">groupname</replaceable> | PUBLIC } [, ...]
43+ [ RESTRICT ]
3944</synopsis>
4045 </refsynopsisdiv>
4146
@@ -63,6 +68,11 @@ REVOKE { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
6368 See the description of the <xref linkend="sql-grant" endterm="sql-grant-title"> command for
6469 the meaning of the privilege types.
6570 </para>
71+
72+ <para>
73+ The <literal>RESTRICT</literal> key word is currently only noise.
74+ See also the compatibility notes below.
75+ </para>
6676 </refsect1>
6777
6878 <refsect1 id="SQL-REVOKE-notes">