2008-05-17 09:28:26 +08:00
|
|
|
/*
|
2010-09-21 04:08:53 +08:00
|
|
|
* contrib/btree_gist/btree_gist.h
|
2008-05-17 09:28:26 +08:00
|
|
|
*/
|
2006-07-11 05:03:58 +08:00
|
|
|
#ifndef __BTREE_GIST_H__
|
|
|
|
#define __BTREE_GIST_H__
|
|
|
|
|
2003-02-19 11:46:00 +08:00
|
|
|
#include "access/nbtree.h"
|
2019-11-25 10:38:57 +08:00
|
|
|
#include "fmgr.h"
|
2003-02-19 11:46:00 +08:00
|
|
|
|
2010-08-03 00:26:48 +08:00
|
|
|
#define BtreeGistNotEqualStrategyNumber 6
|
|
|
|
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 18:43:32 +08:00
|
|
|
/* indexed types */
|
2003-02-19 11:46:00 +08:00
|
|
|
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 18:43:32 +08:00
|
|
|
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,
|
2017-03-15 23:16:25 +08:00
|
|
|
gbt_t_macad8,
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 18:43:32 +08:00
|
|
|
gbt_t_text,
|
|
|
|
gbt_t_bpchar,
|
|
|
|
gbt_t_bytea,
|
|
|
|
gbt_t_bit,
|
2021-11-07 00:00:43 +08:00
|
|
|
gbt_t_bool,
|
2016-11-30 03:08:23 +08:00
|
|
|
gbt_t_inet,
|
2017-03-21 22:19:03 +08:00
|
|
|
gbt_t_uuid,
|
|
|
|
gbt_t_enum
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 18:43:32 +08:00
|
|
|
};
|
2003-02-19 11:46:00 +08:00
|
|
|
|
2006-07-11 05:03:58 +08:00
|
|
|
#endif
|