0001-Fix-documentation-of-default-privileges-for-types.patch
text/x-patch
Filename: 0001-Fix-documentation-of-default-privileges-for-types.patch
Type: text/x-patch
Part: 0
Message:
Omission in GRANT documentation
Patch
Format: format-patch
Series: patch 0001
Subject: Fix documentation of default privileges for types
| File | + | − |
|---|---|---|
| doc/src/sgml/ref/grant.sgml | 1 | 1 |
From e1213e1e91cd0c45fcca8df492f1017f2eacc4bc Mon Sep 17 00:00:00 2001
From: Laurenz Albe <laurenz.albe@wien.gv.at>
Date: Tue, 10 Oct 2017 09:21:36 +0200
Subject: [PATCH] Fix documentation of default privileges for types
Document that PUBLIC has USAGE privileges on newly created types.
---
doc/src/sgml/ref/grant.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml
index c63252c..8936963 100644
--- a/doc/src/sgml/ref/grant.sgml
+++ b/doc/src/sgml/ref/grant.sgml
@@ -161,7 +161,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
granted to <literal>PUBLIC</literal> are as follows:
<literal>CONNECT</literal> and <literal>CREATE TEMP TABLE</literal> for
databases; <literal>EXECUTE</literal> privilege for functions; and
- <literal>USAGE</literal> privilege for languages.
+ <literal>USAGE</literal> privilege for languages and types.
The object owner can, of course, <command>REVOKE</command>
both default and expressly granted privileges. (For maximum
security, issue the <command>REVOKE</> in the same transaction that
--
2.9.5