mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-20 10:03:22 +02:00
Commit 16fa9b2b30
introduced a faster way to build GiST indexes, by
sorting all the data. This commit adds the sortsupport functions needed
to make use of that feature for btree_gist.
Author: Andrey Borodin
Discussion: https://www.postgresql.org/message-id/2F3F7265-0D22-44DB-AD71-8554C743D943@yandex-team.ru
42 lines
557 B
C
42 lines
557 B
C
/*
|
|
* contrib/btree_gist/btree_gist.h
|
|
*/
|
|
#ifndef __BTREE_GIST_H__
|
|
#define __BTREE_GIST_H__
|
|
|
|
#include "access/nbtree.h"
|
|
#include "fmgr.h"
|
|
#include "utils/sortsupport.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
|