Document that GRANT on a table does not affect sequence permissions,
authorBruce Momjian <bruce@momjian.us>
Tue, 14 Feb 2006 03:32:14 +0000 (03:32 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 14 Feb 2006 03:32:14 +0000 (03:32 +0000)
inclusing SERIAL column sequences.

doc/src/sgml/ref/grant.sgml

index e5ea4bb144f13a03b6d2517f5b88fed1393f8f5e..1ae5b4803483ca2026092c8e5ca097758699992b 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.51 2006/01/21 02:16:18 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.52 2006/02/14 03:32:14 momjian Exp $
 PostgreSQL documentation
 -->
 
@@ -375,6 +375,13 @@ GRANT <replaceable class="PARAMETER">role</replaceable> [, ...]
     specific role you want to do the <command>GRANT</> as.
    </para>
 
+   <para>
+    Granting permission on a table does not automatically extend 
+    permissions to any sequences used by the table, including 
+    sequences tied to <type>SERIAL</> columns.  Permissions on 
+    sequence must be set separately.
+   </para>
+
    <para>
     Currently, <productname>PostgreSQL</productname> does not support
     granting or revoking privileges for individual columns of a table.