diff --git a/src/include/catalog/objectaccess.h b/src/include/catalog/objectaccess.h index 2ce2217b1e..e46f5605fc 100644 --- a/src/include/catalog/objectaccess.h +++ b/src/include/catalog/objectaccess.h @@ -133,7 +133,7 @@ extern void RunObjectDropHook(Oid classId, Oid objectId, int subId, int dropflags); extern void RunObjectPostAlterHook(Oid classId, Oid objectId, int subId, Oid auxiliaryId, bool is_internal); -extern bool RunNamespaceSearchHook(Oid objectId, bool ereport_on_volation); +extern bool RunNamespaceSearchHook(Oid objectId, bool ereport_on_violation); extern void RunFunctionExecuteHook(Oid objectId); /*