Document that GRANT on a table does not affect sequence permissions,

inclusing SERIAL column sequences.
This commit is contained in:
Bruce Momjian 2006-02-14 03:32:14 +00:00
parent e93b33754c
commit 99b384b8b6

View 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 PostgreSQL documentation
--> -->
@ -375,6 +375,13 @@ GRANT <replaceable class="PARAMETER">role</replaceable> [, ...]
specific role you want to do the <command>GRANT</> as. specific role you want to do the <command>GRANT</> as.
</para> </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> <para>
Currently, <productname>PostgreSQL</productname> does not support Currently, <productname>PostgreSQL</productname> does not support
granting or revoking privileges for individual columns of a table. granting or revoking privileges for individual columns of a table.