From: Peter Eisentraut Date: Mon, 12 Aug 2002 20:02:09 +0000 (+0000) Subject: Correct description of sequence privileges. X-Git-Tag: REL7_3~947 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=282a5884de21e20cdc849457270c89ed05543722;p=postgresql Correct description of sequence privileges. --- diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml index 5a66973e32..4ed7e6d2cc 100644 --- a/doc/src/sgml/ref/grant.sgml +++ b/doc/src/sgml/ref/grant.sgml @@ -1,5 +1,5 @@ @@ -83,7 +83,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] } Allows from any column of the specified table, view, or sequence. Also allows the use of - TO. + TO. For sequences, this + privilege also allows the use of the currval function. @@ -106,8 +107,8 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] } specified table. SELECT ... FOR UPDATE also requires this privilege (besides the SELECT privilege). For sequences, this - privilege allows the use of nextval, - currval and setval. + privilege allows the use of the nextval and + setval functions.