diff --git a/hypopg.c b/hypopg.c index cc81102..d419857 100644 --- a/hypopg.c +++ b/hypopg.c @@ -55,7 +55,6 @@ static bool oid_wraparound = false; /*--- Functions --- */ PGDLLEXPORT void _PG_init(void); -PGDLLEXPORT void _PG_fini(void); PGDLLEXPORT Datum hypopg_reset(PG_FUNCTION_ARGS); @@ -160,17 +159,6 @@ _PG_init(void) EmitWarningsOnPlaceholders("hypopg"); } -void -_PG_fini(void) -{ - /* uninstall hooks */ - ProcessUtility_hook = prev_utility_hook; - ExecutorEnd_hook = prev_ExecutorEnd_hook; - get_relation_info_hook = prev_get_relation_info_hook; - explain_get_index_name_hook = prev_explain_get_index_name_hook; - -} - /*--------------------------------- * Return a new OID for an hypothetical index. *