Header And Logo

PostgreSQL
| The world's most advanced open source database.

btree_gist.h

Go to the documentation of this file.
00001 /*
00002  * contrib/btree_gist/btree_gist.h
00003  */
00004 #ifndef __BTREE_GIST_H__
00005 #define __BTREE_GIST_H__
00006 
00007 #include "fmgr.h"
00008 #include "access/nbtree.h"
00009 
00010 #define BtreeGistNotEqualStrategyNumber 6
00011 
00012 /* indexed types */
00013 
00014 enum gbtree_type
00015 {
00016     gbt_t_var,
00017     gbt_t_int2,
00018     gbt_t_int4,
00019     gbt_t_int8,
00020     gbt_t_float4,
00021     gbt_t_float8,
00022     gbt_t_numeric,
00023     gbt_t_ts,
00024     gbt_t_cash,
00025     gbt_t_oid,
00026     gbt_t_time,
00027     gbt_t_date,
00028     gbt_t_intv,
00029     gbt_t_macad,
00030     gbt_t_text,
00031     gbt_t_bpchar,
00032     gbt_t_bytea,
00033     gbt_t_bit,
00034     gbt_t_inet
00035 };
00036 
00037 
00038 
00039 /*
00040  * Generic btree functions
00041  */
00042 
00043 Datum       gbtreekey_in(PG_FUNCTION_ARGS);
00044 
00045 Datum       gbtreekey_out(PG_FUNCTION_ARGS);
00046 
00047 #endif