2003-02-19 06:46:00 +03:00
|
|
|
#include "postgres.h"
|
|
|
|
#include "access/gist.h"
|
|
|
|
#include "access/itup.h"
|
|
|
|
#include "access/nbtree.h"
|
|
|
|
|
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 14:43:32 +04:00
|
|
|
/* indexed types */
|
2003-02-19 06:46:00 +03: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 14:43:32 +04:00
|
|
|
enum gbtree_type
|
|
|
|
{
|
2004-08-29 09:07:03 +04: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 14:43:32 +04:00
|
|
|
};
|
2003-02-19 06:46:00 +03: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 14:43:32 +04:00
|
|
|
* Generic btree functions
|
|
|
|
*/
|
|
|
|
|
2004-08-29 09:07:03 +04:00
|
|
|
Datum gbtreekey_in(PG_FUNCTION_ARGS);
|
2003-02-19 06:46:00 +03:00
|
|
|
|
2004-08-29 09:07:03 +04:00
|
|
|
Datum gbtreekey_out(PG_FUNCTION_ARGS);
|