vexec_flight
pg_vexec · Arrow Flight SQL endpoint backed by the vexec vectorized executor
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102174 | vexec_flight | pg_vexec | 0.1.0 | FEAT | Apache-2.0 | C |
PostgreSQL · 19
| Relationships | |
|---|---|
| Requires | vexec |
Usage
Sources:
- modules/vexec_flight/README.md
- modules/vexec_flight/src/flight.h
- modules/vexec_flight/src/vexec_flight.c
- modules/vexec_flight/Makefile
- README.md
vexec_flight exposes PostgreSQL 19 through Arrow Flight SQL while vexec runs vectorized execution. It is a preload library with C version 0.1.0 and has no SQL control file.
Core Workflow
Operational Boundaries
Append both libraries to the existing preload list, configure a listener and restart. The listener is disabled when the address is empty; its default port is 32010. Statements require vexec.mode auto or force. There is no CREATE EXTENSION vexec_flight; bulk ingestion requires the optional vexec SQL objects and vexec.ingest_stream.
Connections use PostgreSQL roles, database privileges and pg_hba.conf. Configure TLS certificates and hostssl rules before exposing credentials outside a trusted host. vexec_flight.max_sessions defaults to 16 and consumes background-worker slots; vexec_flight.idle_session_timeout bounds idle sessions. The module implements queries, prepared statements, transactions, cancellation, metadata and ingestion, but not Substrait plans or DoExchange. It needs nghttp2, protobuf-c and OpenSSL.