Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c356f2a

Browse files
committed
Remove _PG_fini
Due to upstream commit ab02d702, _PG_fini was removed. To be consistent, we remove _PG_fini in this extension too.
1 parent 77b7e77 commit c356f2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vops.c

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

6868
/* pg module functions */
6969
void _PG_init(void);
70+
#if PG_VERSION_NUM<150000
7071
void _PG_fini(void);
72+
#endif
7173

7274
uint64 filter_mask = ~0;
7375
static struct {
@@ -4743,6 +4745,7 @@ void _PG_init(void)
47434745
NULL);
47444746
}
47454747

4748+
#if PG_VERSION_NUM<150000
47464749
void _PG_fini(void)
47474750
{
47484751
elog(LOG, "Finalize VOPS extension");
@@ -4755,3 +4758,4 @@ void _PG_fini(void)
47554758
/* undo static initializations */
47564759
reset_static_cache();
47574760
}
4761+
#endif

0 commit comments

Comments
 (0)