wdb_fdw
wdb_fdw · WhiteDB Foreign Data Wrapper
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100382 | wdb_fdw | wdb_fdw | 0.0.1 | FDW | PostgreSQL | C |
Usage
Sources:
wdb_fdw version 0.0.1 is a historical foreign data wrapper for an attached WhiteDB shared-memory database. A foreign server accepts address and size options, and foreign tables map their columns to WhiteDB record fields. The handler wires scan, insert, and delete callbacks; its update callback is commented out despite the README claiming UPDATE support.
Historical example
The write path is unsafe even on the matching legacy stack. Write-lock acquisition and release are commented out, and the delete callback ignores the row selected by PostgreSQL: it fetches and deletes the first WhiteDB record instead. Treat the wrapper as read-only when inspecting historical data.
The repository is archived and the code targets 2013-era PostgreSQL FDW APIs and WhiteDB. It supports only a narrow set of numeric and text conversions, has incomplete error and transaction semantics, and cannot be assumed crash-safe or transactionally equivalent to PostgreSQL storage. Do not deploy it on a current production server. If historical data must be recovered, pin the matching legacy toolchain and work on disposable copies in an isolated environment.