pg_monetdb
MonetDB foreign-data wrapper with stronger analytical pushdown
pg_monetdb · MonetDB foreign-data wrapper with stronger analytical pushdown
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101583 | pg_monetdb | pg_monetdb | 1.4 | FDW | MPL-2.0 | C |
Usage
Sources:
- Official upstream README
- Official extension control file (pg_monetdb.control)
- Official extension SQL (pg_monetdb–1.3.sql)
pg_monetdb — pg_monetdb is a fork of monetdb_fdw focused on stronger pushdown for analytical query shapes derived from TPC-H and TPC-DS-style workloads. Use it when PostgreSQL must access the corresponding external data source through a foreign-data interface. Upstream describes this capability as experimental.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
monet_query(server name, statement text)is an extension function and returnsSETOF.monet_query_to_array(server name, statement text)is an extension function and returnsSETOF.monet_query_to_jsonb(server name, statement text, column_names text[])is an extension function and returnsSETOF.monetdb_execute(server name, statement text)is an extension function and returnsvoid.monetdb_fdw_handler()is an extension function and returnsfdw_handler.pg_monetdb_execute(server name, statement text)is an extension function and returnsvoid.pg_monetdb_handler()is an extension function and returnsfdw_handler.pg_monetdb_query(server name, statement text)is an extension function and returnsSETOF.pg_monetdb_query_to_array(server name, statement text)is an extension function and returnsSETOF.pg_monetdb_query_to_jsonb(server name, statement text, column_names text[])is an extension function and returnsSETOF.BLOBis an extension-defined domain.CLOBis an extension-defined domain.HUGEINTis an extension-defined domain.STRINGis an extension-defined domain.
Requirements and Caveats
- The reviewed control file declares default version
1.4. - The control file marks the extension as relocatable.
- Upstream labels part or all of the project experimental.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.