mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Add #include code to prevent multiple inclusion.
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
#ifndef __BTREE_GIST_H__
|
||||
#define __BTREE_GIST_H__
|
||||
|
||||
#include "postgres.h"
|
||||
#include "access/gist.h"
|
||||
#include "access/itup.h"
|
||||
@ -37,3 +40,5 @@ enum gbtree_type
|
||||
Datum gbtreekey_in(PG_FUNCTION_ARGS);
|
||||
|
||||
Datum gbtreekey_out(PG_FUNCTION_ARGS);
|
||||
|
||||
#endif
|
||||
|
@ -1,3 +1,6 @@
|
||||
#ifndef __BTREE_UTILS_NUM_H__
|
||||
#define __BTREE_UTILS_NUM_H__
|
||||
|
||||
#include "btree_gist.h"
|
||||
|
||||
typedef char GBT_NUMKEY;
|
||||
@ -101,3 +104,5 @@ extern bool gbt_num_same(const GBT_NUMKEY * a, const GBT_NUMKEY * b,
|
||||
|
||||
extern void gbt_num_bin_union(Datum *u, GBT_NUMKEY * e,
|
||||
const gbtree_ninfo * tinfo);
|
||||
|
||||
#endif
|
||||
|
@ -1,3 +1,6 @@
|
||||
#ifndef __BTREE_UTILS_VAR_H__
|
||||
#define __BTREE_UTILS_VAR_H__
|
||||
|
||||
#include "mb/pg_wchar.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
@ -70,3 +73,5 @@ extern GIST_SPLITVEC *gbt_var_picksplit(const GistEntryVector *entryvec, GIST_SP
|
||||
const gbtree_vinfo * tinfo);
|
||||
extern void gbt_var_bin_union(Datum *u, GBT_VARKEY * e,
|
||||
const gbtree_vinfo * tinfo);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user