vexec
pg_vexec · Vectorized query planning and execution on PostgreSQL 19 hooks
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102171 | vexec | pg_vexec | 1.0 | FEAT | Apache-2.0 | C |
PostgreSQL · 19
Usage
Sources:
vexec plans and executes batches inside PostgreSQL 19. It can use the PostgreSQL planner or the separately installed ORCA integration. Unsupported expressions fall back to PostgreSQL evaluation; the Cloudberry storage and interconnect integrations have additional fork-specific requirements.
Core Workflow
Operational Boundaries
Append the library to the existing preload list and restart. vexec.mode defaults to off; auto uses the cost model and force selects supported vector paths more aggressively. Creating the SQL extension as a superuser is optional for ordinary vector execution, but supplies vexec.sources, vexec.sinks, vexec.type_layouts, vexec.kernels, vexec.kernel_packs, vexec.declared_calls and vexec.ingest_stream. The last function is required for Flight bulk ingestion.
This early source release targets PostgreSQL 19. Compare results and plans with mode off before adoption. ORCA requires the compatible gp_orca module; PAX, ao_column and distributed execution require the separate Cloudberry port. These optional integrations are not supplied by installing the base extension.