mest
mest · Multi-entry GiST and SP-GiST index access methods
Overview
PostgreSQL · 17, 18
Usage
Sources:
mest 1.0 adds multi-entry GiST and SP-GiST index access methods. One source value can contribute several index entries, useful for multiranges and paths. Upstream documents PostgreSQL 17 and 18.
Core Workflow
Install the library for the server’s PostgreSQL major, then enable it with a superuser:
Choose the appropriate index after comparing the query plan and index size for the actual data; the example shows both available methods.
Objects and Companion Extensions
mgistandmspgistare index access methods.multirange_mrtree_opsandmultirange_mquadtree_opsprovide default classes foranymultirange.path_mrtree_opsandpath_mquadtree_opssupportpath.ranges()has overloads for integer, date and timestamp multiranges.postgis_mestadds geometry classes;mobilitydb_mestadds classes for MobilityDB types. Install those extensions separately when needed.
Operational Boundaries
The base control file is relocatable and declares no extension dependencies. Its installation script creates access methods and C functions; installation is privileged. The base extension has no documented preload or restart requirement. Companion extensions have their own library and preload prerequisites.
Multiple entries per row change index size and maintenance work. Ordinary queries must use operators supported by the selected class; installing the extension does not make every predicate indexable.