From: Teodor Sigaev Date: Thu, 6 Oct 2022 13:50:39 +0000 (+0300) Subject: Support for v15 X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=6373b76649291a17fb17460bace6493de4aa426a;p=online_analyze.git Support for v15 Dmitry Koval --- 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