Commit 282a5884 authored by Peter Eisentraut's avatar Peter Eisentraut

Correct description of sequence privileges.

parent c024fa4c
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/grant.sgml,v 1.27 2002/08/10 03:56:23 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/grant.sgml,v 1.28 2002/08/12 20:02:09 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -83,7 +83,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] } ...@@ -83,7 +83,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
<para> <para>
Allows <xref linkend="sql-select" endterm="sql-select-title"> from any column of the Allows <xref linkend="sql-select" endterm="sql-select-title"> from any column of the
specified table, view, or sequence. Also allows the use of specified table, view, or sequence. Also allows the use of
<xref linkend="sql-copy" endterm="sql-copy-title"> TO. <xref linkend="sql-copy" endterm="sql-copy-title"> TO. For sequences, this
privilege also allows the use of the <function>currval</function> function.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -106,8 +107,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] } ...@@ -106,8 +107,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
specified table. <literal>SELECT ... FOR UPDATE</literal> specified table. <literal>SELECT ... FOR UPDATE</literal>
also requires this privilege (besides the also requires this privilege (besides the
<literal>SELECT</literal> privilege). For sequences, this <literal>SELECT</literal> privilege). For sequences, this
privilege allows the use of <function>nextval</function>, privilege allows the use of the <function>nextval</function> and
<function>currval</function> and <function>setval</function>. <function>setval</function> functions.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment