Skip to content

Commit d017bf4

Browse files
committed
Minor wording corrections for object-access hook stuff.
KaiGai Kohei
1 parent b620fda commit d017bf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/catalog/objectaccess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RunNamespaceSearchHook(Oid objectId, bool ereport_on_violation)
9696
{
9797
ObjectAccessNamespaceSearch ns_arg;
9898

99-
/* XXX - should be checked at caller side */
99+
/* caller should check, but just in case... */
100100
Assert(object_access_hook != NULL);
101101

102102
memset(&ns_arg, 0, sizeof(ObjectAccessNamespaceSearch));

src/include/catalog/objectaccess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* OAT_NAMESPACE_SEARCH should be invoked prior to object name lookup under
3131
* a particular namespace. This event is equivalent to usage permission
32-
* permission on a schema under the default access control mechanism.
32+
* on a schema under the default access control mechanism.
3333
*
3434
* Other types may be added in the future.
3535
*/

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