Correct description of sequence privileges.
This commit is contained in:
parent
c024fa4cb5
commit
282a5884de
|
@ -1,5 +1,5 @@
|
||||||
<!--
|
<!--
|
||||||
$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 ] }
|
||||||
<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 ] }
|
||||||
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>
|
||||||
|
|
Loading…
Reference in New Issue