mufdw
mufdw · Minimal local-table foreign data wrapper for teaching
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102044 | mufdw | mufdw | 0.1 | FDW | PostgreSQL | C |
Usage
Sources:
mufdw is a standalone educational foreign data wrapper that reads an ordinary local table through SPI. Use it to study FDW planning and execution; it is not a connector to a separate database.
Core Workflow
The upstream example creates a loopback server, user mapping, local table and matching foreign table.
Boundaries
schema_name and table_name select the underlying local relation; maintain compatible column definitions. The source defines mufdw_handler() and mufdw_validator(text[], oid) and control version 0.1. This is a demonstration implementation without a declared supported-major matrix or production guarantees. Do not use foreign-table grants to bypass the intended privileges on underlying data.