diff --git a/vops.c b/vops.c index 85f00f8..17d8b9e 100644 --- a/vops.c +++ b/vops.c @@ -67,9 +67,6 @@ PG_MODULE_MAGIC; /* pg module functions */ void _PG_init(void); -#if PG_VERSION_NUM<150000 -void _PG_fini(void); -#endif uint64 filter_mask = ~0; static struct { @@ -4744,18 +4741,3 @@ void _PG_init(void) NULL, NULL); } - -#if PG_VERSION_NUM<150000 -void _PG_fini(void) -{ - elog(LOG, "Finalize VOPS extension"); - /* Restore hooks */ - post_parse_analyze_hook = post_parse_analyze_hook_next; -#if PG_VERSION_NUM<140000 - ExplainOneQuery_hook = save_explain_hook; -#endif - - /* undo static initializations */ - reset_static_cache(); -} -#endif