From 6373b76649291a17fb17460bace6493de4aa426a Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Thu, 6 Oct 2022 16:50:39 +0300 Subject: [PATCH] Support for v15 Dmitry Koval --- online_analyze.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/online_analyze.c b/online_analyze.c index 6ffcc30..4b7fea6 100644 --- a/online_analyze.c +++ b/online_analyze.c @@ -1351,6 +1351,7 @@ _PG_init(void) RegisterXactCallback(removeTable, NULL); } +#if PG_VERSION_NUM < 150000 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; } +#endif -- 2.46.1