btree_gist
support for indexing common datatypes in GiST
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
btree_gist | 1.7 | FUNC | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4940 | btree_gist | No | Yes | No | Yes | Yes | No | - |
| Related | ora_btree_gist btree_gin parray_gin intarray rum bloom db2fce orafce |
|---|---|
| Depended By | emaj omni_auth periods pg_lake_table pgautofailover powa |
Version
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.7 | 1.7 | 1.7 | 1.7 | 1.7 |
Install
Note: This is a built-in contrib extension of PostgreSQL
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.
Examples
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)