Typo in objectaccess.h prototype

Started by Daniel Gustafssonalmost 8 years ago2 messages
#1Daniel Gustafsson
daniel@yesql.se
1 attachment(s)

s/ereport_on_volation/ereport_on_violation/ as per the attached patch.

cheers ./daniel

Attachments:

typo-objectaccess.patchapplication/octet-stream; name=typo-objectaccess.patchDownload
From 701a510ab9c5714d536e93382f32f85078d156e1 Mon Sep 17 00:00:00 2001
From: Daniel Gustafsson <daniel@yesql.se>
Date: Wed, 7 Mar 2018 13:15:06 +0100
Subject: [PATCH] Fix typo in prototype

s/ereport_on_volation/ereport_on_violation/
---
 src/include/catalog/objectaccess.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 
 /*
-- 
2.14.1.145.gb3622a4ee

#2Peter Eisentraut
peter.eisentraut@2ndquadrant.com
In reply to: Daniel Gustafsson (#1)
Re: Typo in objectaccess.h prototype

On 3/7/18 07:23, Daniel Gustafsson wrote:

s/ereport_on_volation/ereport_on_violation/ as per the attached patch.

fixed

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services