summaryrefslogtreecommitdiffstats
path: root/contrib/btree_gist/btree_gist.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:15:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:15:05 +0000
commit46651ce6fe013220ed397add242004d764fc0153 (patch)
tree6e5299f990f88e60174a1d3ae6e48eedd2688b2b /contrib/btree_gist/btree_gist.h
parentInitial commit. (diff)
downloadpostgresql-14-46651ce6fe013220ed397add242004d764fc0153.tar.xz
postgresql-14-46651ce6fe013220ed397add242004d764fc0153.zip
Adding upstream version 14.5.upstream/14.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/btree_gist/btree_gist.h')
-rw-r--r--contrib/btree_gist/btree_gist.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/contrib/btree_gist/btree_gist.h b/contrib/btree_gist/btree_gist.h
new file mode 100644
index 0000000..14c7c8e
--- /dev/null
+++ b/contrib/btree_gist/btree_gist.h
@@ -0,0 +1,40 @@
+/*
+ * contrib/btree_gist/btree_gist.h
+ */
+#ifndef __BTREE_GIST_H__
+#define __BTREE_GIST_H__
+
+#include "access/nbtree.h"
+#include "fmgr.h"
+
+#define BtreeGistNotEqualStrategyNumber 6
+
+/* indexed types */
+
+enum gbtree_type
+{
+ gbt_t_var,
+ gbt_t_int2,
+ gbt_t_int4,
+ gbt_t_int8,
+ gbt_t_float4,
+ gbt_t_float8,
+ gbt_t_numeric,
+ gbt_t_ts,
+ gbt_t_cash,
+ gbt_t_oid,
+ gbt_t_time,
+ gbt_t_date,
+ gbt_t_intv,
+ gbt_t_macad,
+ gbt_t_macad8,
+ gbt_t_text,
+ gbt_t_bpchar,
+ gbt_t_bytea,
+ gbt_t_bit,
+ gbt_t_inet,
+ gbt_t_uuid,
+ gbt_t_enum
+};
+
+#endif