Skip to content

Commit 0f3f34f

Browse files
committed
Fix minor error in comment.
1 parent d707495 commit 0f3f34f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/catalog/aclchk.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/aclchk.c,v 1.101 2004/05/28 16:17:14 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/aclchk.c,v 1.102 2004/05/28 16:37:11 tgl Exp $
1212
*
1313
* NOTES
1414
* See acl.h.
@@ -1355,9 +1355,10 @@ pg_namespace_aclmask(Oid nsp_oid, AclId userid,
13551355
*
13561356
* This may seem redundant given the check in InitTempTableNamespace,
13571357
* but it really isn't since current user ID may have changed since then.
1358-
* The upshot of this behavior is that a SECURITY INVOKER function can
1358+
* The upshot of this behavior is that a SECURITY DEFINER function can
13591359
* create temp tables that can then be accessed (if permission is granted)
1360-
* by code that doesn't have permissions to create temp tables.
1360+
* by code in the same session that doesn't have permissions to create
1361+
* temp tables.
13611362
*
13621363
* XXX Would it be safe to ereport a special error message as
13631364
* InitTempTableNamespace does? Returning zero here means we'll get a

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