Skip to content

Commit 282a588

Browse files
committed
Correct description of sequence privileges.
1 parent c024fa4 commit 282a588

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/src/sgml/ref/grant.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/grant.sgml,v 1.27 2002/08/10 03:56:23 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/grant.sgml,v 1.28 2002/08/12 20:02:09 petere Exp $
33
PostgreSQL documentation
44
-->
55

@@ -83,7 +83,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
8383
<para>
8484
Allows <xref linkend="sql-select" endterm="sql-select-title"> from any column of the
8585
specified table, view, or sequence. Also allows the use of
86-
<xref linkend="sql-copy" endterm="sql-copy-title"> TO.
86+
<xref linkend="sql-copy" endterm="sql-copy-title"> TO. For sequences, this
87+
privilege also allows the use of the <function>currval</function> function.
8788
</para>
8889
</listitem>
8990
</varlistentry>
@@ -106,8 +107,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
106107
specified table. <literal>SELECT ... FOR UPDATE</literal>
107108
also requires this privilege (besides the
108109
<literal>SELECT</literal> privilege). For sequences, this
109-
privilege allows the use of <function>nextval</function>,
110-
<function>currval</function> and <function>setval</function>.
110+
privilege allows the use of the <function>nextval</function> and
111+
<function>setval</function> functions.
111112
</para>
112113
</listitem>
113114
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy