gtables_fdw
gtables_fdw · Global tables across FDW API
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100385 | gtables_fdw | gtables_fdw | 0.1 | FDW | AGPL-3.0 | C |
Usage
Sources:
gtables_fdw 0.1 is an unfinished global-table prototype, not a functional foreign data wrapper. Its native module has an empty _PG_init() function. The installation SQL only creates metadata tables gt.GlobalTables and gt.GlobalTableSpace; proposed functions and triggers are commented out.
Inspect without assuming functionality
If the extension already exists in a disposable test database, its entire effective SQL surface can be inspected with:
Adding rows to these tables does not create, synchronize, route, or replicate a global table. The repository has no working management API, query planner, write path, failure handling, or consistency protocol.
Destructive installation warning
The 0.1 installation script begins with DROP SCHEMA IF EXISTS gt CASCADE, then recreates gt. Installing it can therefore delete an unrelated existing gt schema and every dependent object. Do not execute CREATE EXTENSION gtables_fdw on a database containing valuable objects with that schema name. Review the script and use an isolated disposable database if source archaeology is required.
The sole test preloads postgres_fdw, gtables_fdw, but the library performs no preload work and the test does not prove table synchronization. The last source change is from 2020 and no compatibility matrix or release exists. Use maintained logical replication, foreign tables, or a distributed PostgreSQL design for actual global-table requirements.