Minor wording corrections for object-access hook stuff.

KaiGai Kohei
This commit is contained in:
Robert Haas 2013-04-12 08:39:38 -04:00
parent b620fdabba
commit d017bf41a3
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ RunNamespaceSearchHook(Oid objectId, bool ereport_on_violation)
{ {
ObjectAccessNamespaceSearch ns_arg; ObjectAccessNamespaceSearch ns_arg;
/* XXX - should be checked at caller side */ /* caller should check, but just in case... */
Assert(object_access_hook != NULL); Assert(object_access_hook != NULL);
memset(&ns_arg, 0, sizeof(ObjectAccessNamespaceSearch)); memset(&ns_arg, 0, sizeof(ObjectAccessNamespaceSearch));

View File

@ -29,7 +29,7 @@
* *
* OAT_NAMESPACE_SEARCH should be invoked prior to object name lookup under * OAT_NAMESPACE_SEARCH should be invoked prior to object name lookup under
* a particular namespace. This event is equivalent to usage permission * 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. * Other types may be added in the future.
*/ */