Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dd410eb

Browse files
Remove _PG_fini completely
1 parent c356f2a commit dd410eb

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

‎vops.c‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ PG_MODULE_MAGIC;
6767

6868
/* pg module functions */
6969
void _PG_init(void);
70-
#if PG_VERSION_NUM<150000
71-
void _PG_fini(void);
72-
#endif
7370

7471
uint64 filter_mask = ~0;
7572
static struct {
@@ -4744,18 +4741,3 @@ void _PG_init(void)
47444741
NULL,
47454742
NULL);
47464743
}
4747-
4748-
#if PG_VERSION_NUM<150000
4749-
void _PG_fini(void)
4750-
{
4751-
elog(LOG, "Finalize VOPS extension");
4752-
/* Restore hooks */
4753-
post_parse_analyze_hook = post_parse_analyze_hook_next;
4754-
#if PG_VERSION_NUM<140000
4755-
ExplainOneQuery_hook = save_explain_hook;
4756-
#endif
4757-
4758-
/* undo static initializations */
4759-
reset_static_cache();
4760-
}
4761-
#endif

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /