btree_gist
support for indexing common datatypes in GiST
btree_gist : support for indexing common datatypes in GiST
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 4940 | btree_gist | btree_gist | 1.7 |
FUNC | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-dt- | No | Yes | No | Yes | no | yes |
| Relationships | |
|---|---|
| Need By | emaj omni_auth periods pg_lake_table pgautofailover powa |
| See Also | ora_btree_gist btree_gin parray_gin intarray rum bloom db2fce orafce |
Packages
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.7 | 1.7 | 1.7 | 1.7 | 1.7 |
This is a built-in contrib extension ship with the PostgreSQL kernel
Install
Create this extension with:
Usage
Provides GiST index operator classes for data types that normally only support B-tree indexing. Enables exclusion constraints combining equality with range operators.
Supported Data Types
int2, int4, int8, float4, float8, numeric, timestamp with time zone, timestamp without time zone, time with time zone, time without time zone, date, interval, oid, money, char, varchar, text, bytea, bit, varbit, macaddr, macaddr8, inet, cidr, uuid, bool, and all enum types.
Distance Operator
The <-> operator is provided for nearest-neighbor searches on numeric and temporal types.