mirror of https://github.com/citusdata/citus.git
move _PG_* declarations to mod.h
parent
ba506acd35
commit
59d5d96170
4
cstore.h
4
cstore.h
|
@ -266,10 +266,6 @@ typedef struct TableWriteState
|
||||||
|
|
||||||
} TableWriteState;
|
} TableWriteState;
|
||||||
|
|
||||||
/* Function declarations for extension loading and unloading */
|
|
||||||
extern void _PG_init(void);
|
|
||||||
extern void _PG_fini(void);
|
|
||||||
|
|
||||||
extern CompressionType ParseCompressionType(const char *compressionTypeString);
|
extern CompressionType ParseCompressionType(const char *compressionTypeString);
|
||||||
extern void InitializeCStoreTableFile(Oid relationId, Relation relation,
|
extern void InitializeCStoreTableFile(Oid relationId, Relation relation,
|
||||||
CStoreOptions *cstoreOptions);
|
CStoreOptions *cstoreOptions);
|
||||||
|
|
1
mod.c
1
mod.c
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
#include "mod.h"
|
||||||
#include "cstore_fdw.h"
|
#include "cstore_fdw.h"
|
||||||
|
|
||||||
PG_MODULE_MAGIC;
|
PG_MODULE_MAGIC;
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
/*-------------------------------------------------------------------------
|
||||||
|
*
|
||||||
|
* mod.h
|
||||||
|
*
|
||||||
|
* Type and function declarations for CStore
|
||||||
|
*
|
||||||
|
* Copyright (c) 2016, Citus Data, Inc.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
*-------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MOD_H
|
||||||
|
#define MOD_H
|
||||||
|
|
||||||
|
/* Function declarations for extension loading and unloading */
|
||||||
|
extern void _PG_init(void);
|
||||||
|
extern void _PG_fini(void);
|
||||||
|
|
||||||
|
#endif /* MOD_H */
|
Loading…
Reference in New Issue