Support for v15
authorTeodor Sigaev <teodor@sigaev.ru>
Thu, 6 Oct 2022 13:50:39 +0000 (16:50 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Thu, 6 Oct 2022 13:50:39 +0000 (16:50 +0300)
Dmitry Koval

online_analyze.c

index 6ffcc30..4b7fea6 100644 (file)
@@ -1351,6 +1351,7 @@ _PG_init(void)
        RegisterXactCallback(removeTable, NULL);
 }
 
        RegisterXactCallback(removeTable, NULL);
 }
 
+#if PG_VERSION_NUM < 150000
 void _PG_fini(void);
 void
 _PG_fini(void)
 void _PG_fini(void);
 void
 _PG_fini(void)
@@ -1368,3 +1369,4 @@ _PG_fini(void)
        excludeTables.tables = includeTables.tables = NULL;
        excludeTables.nTables = includeTables.nTables = 0;
 }
        excludeTables.tables = includeTables.tables = NULL;
        excludeTables.nTables = includeTables.nTables = 0;
 }
+#endif