Minor wording corrections for object-access hook stuff.
authorRobert Haas
Fri, 12 Apr 2013 12:39:38 +0000 (08:39 -0400)
committerRobert Haas
Fri, 12 Apr 2013 12:40:02 +0000 (08:40 -0400)
KaiGai Kohei

src/backend/catalog/objectaccess.c
src/include/catalog/objectaccess.h

index f70797f2643311ac6fff418c22ecc86a29daa21e..ad12d74f521131865b1262b6c49d28f144406427 100644 (file)
@@ -96,7 +96,7 @@ RunNamespaceSearchHook(Oid objectId, bool ereport_on_violation)
 {
    ObjectAccessNamespaceSearch ns_arg;
 
-   /* XXX - should be checked at caller side */
+   /* caller should check, but just in case... */
    Assert(object_access_hook != NULL);
 
    memset(&ns_arg, 0, sizeof(ObjectAccessNamespaceSearch));
index 12ae55f498c4c4320ad7fe43fae234bcf8ee3720..a34c4c7474b85bf8931ef73adccf25cabf0f5dae 100644 (file)
@@ -29,7 +29,7 @@
  *
  * OAT_NAMESPACE_SEARCH should be invoked prior to object name lookup under
  * a particular namespace. This event is equivalent to usage permission
- * permission on a schema under the default access control mechanism.
+ * on a schema under the default access control mechanism.
  *
  * Other types may be added in the future.
  */