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 "fmgr.h"
|
||||||
|
|
||||||
#include "mod.h"
|
#include "mod.h"
|
||||||
|
#if PG_VERSION_NUM >= 120000
|
||||||
#include "cstore_tableam.h"
|
#include "cstore_tableam.h"
|
||||||
|
#endif
|
||||||
#include "cstore_fdw.h"
|
#include "cstore_fdw.h"
|
||||||
|
|
||||||
PG_MODULE_MAGIC;
|
PG_MODULE_MAGIC;
|
||||||
|
@ -24,7 +26,9 @@ PG_MODULE_MAGIC;
|
||||||
void
|
void
|
||||||
_PG_init(void)
|
_PG_init(void)
|
||||||
{
|
{
|
||||||
|
#if PG_VERSION_NUM >= 120000
|
||||||
cstore_tableam_init();
|
cstore_tableam_init();
|
||||||
|
#endif
|
||||||
cstore_fdw_init();
|
cstore_fdw_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +36,8 @@ _PG_init(void)
|
||||||
void
|
void
|
||||||
_PG_fini(void)
|
_PG_fini(void)
|
||||||
{
|
{
|
||||||
|
#if PG_VERSION_NUM >= 120000
|
||||||
cstore_tableam_finish();
|
cstore_tableam_finish();
|
||||||
|
#endif
|
||||||
cstore_fdw_finish();
|
cstore_fdw_finish();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue