Minor wording corrections for object-access hook stuff.

KaiGai Kohei
pull/4/head
Robert Haas 13 years ago
parent b620fdabba
commit d017bf41a3
  1. 2
      src/backend/catalog/objectaccess.c
  2. 2
      src/include/catalog/objectaccess.h

@ -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));

@ -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.
*/

Loading…
Cancel
Save