Skip to content
Snippets Groups Projects
Commit 0f3f34f0 authored by Tom Lane's avatar Tom Lane
Browse files

Fix minor error in comment.

parent d7074954
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/catalog/aclchk.c,v 1.101 2004/05/28 16:17:14 tgl Exp $ * $PostgreSQL: pgsql/src/backend/catalog/aclchk.c,v 1.102 2004/05/28 16:37:11 tgl Exp $
* *
* NOTES * NOTES
* See acl.h. * See acl.h.
...@@ -1355,9 +1355,10 @@ pg_namespace_aclmask(Oid nsp_oid, AclId userid, ...@@ -1355,9 +1355,10 @@ pg_namespace_aclmask(Oid nsp_oid, AclId userid,
* *
* This may seem redundant given the check in InitTempTableNamespace, * This may seem redundant given the check in InitTempTableNamespace,
* but it really isn't since current user ID may have changed since then. * but it really isn't since current user ID may have changed since then.
* The upshot of this behavior is that a SECURITY INVOKER function can * The upshot of this behavior is that a SECURITY DEFINER function can
* create temp tables that can then be accessed (if permission is granted) * create temp tables that can then be accessed (if permission is granted)
* by code that doesn't have permissions to create temp tables. * by code in the same session that doesn't have permissions to create
* temp tables.
* *
* XXX Would it be safe to ereport a special error message as * XXX Would it be safe to ereport a special error message as
* InitTempTableNamespace does? Returning zero here means we'll get a * InitTempTableNamespace does? Returning zero here means we'll get a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment