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__
|
|
|
|
|
2011-09-01 22:03:22 +08:00
|
|
|
#include "fmgr.h"
|
2003-02-19 11:46:00 +08:00
|
|
|
#include "access/nbtree.h"
|
|
|
|
|
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
|
|
|
|
{
|
2004-08-29 13:07:03 +08:00
|
|
|
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_text,
|
|
|
|
gbt_t_bpchar,
|
|
|
|
gbt_t_bytea,
|
|
|
|
gbt_t_bit,
|
|
|
|
gbt_t_inet
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
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
|
|
|
* Generic btree functions
|
|
|
|
*/
|
|
|
|
|
2004-08-29 13:07:03 +08:00
|
|
|
Datum gbtreekey_in(PG_FUNCTION_ARGS);
|
2003-02-19 11:46:00 +08:00
|
|
|
|
2004-08-29 13:07:03 +08:00
|
|
|
Datum gbtreekey_out(PG_FUNCTION_ARGS);
|
2006-07-11 05:03:58 +08:00
|
|
|
|
|
|
|
#endif
|