mirror of https://github.com/citusdata/citus.git
fixup mod.c
parent
a3b513167c
commit
ada9da609e
6
mod.c
6
mod.c
|
@ -16,7 +16,9 @@
|
|||
#include "fmgr.h"
|
||||
|
||||
#include "mod.h"
|
||||
#if PG_VERSION_NUM >= 120000
|
||||
#include "cstore_tableam.h"
|
||||
#endif
|
||||
#include "cstore_fdw.h"
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
@ -24,7 +26,9 @@ PG_MODULE_MAGIC;
|
|||
void
|
||||
_PG_init(void)
|
||||
{
|
||||
#if PG_VERSION_NUM >= 120000
|
||||
cstore_tableam_init();
|
||||
#endif
|
||||
cstore_fdw_init();
|
||||
}
|
||||
|
||||
|
@ -32,6 +36,8 @@ _PG_init(void)
|
|||
void
|
||||
_PG_fini(void)
|
||||
{
|
||||
#if PG_VERSION_NUM >= 120000
|
||||
cstore_tableam_finish();
|
||||
#endif
|
||||
cstore_fdw_finish();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue