dynamodb_fdw
dynamodb_fdw · Foreign data wrapper for querying and modifying Amazon DynamoDB tables from PostgreSQL.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100978 | dynamodb_fdw | dynamodb_fdw | 1.1 | FDW | PostgreSQL | C |
PostgreSQL · 13, 14, 15, 16, 17
Usage
Sources:
- Upstream README and option reference
- Extension control file
- Authoritative option validator
- Distribution metadata
dynamodb_fdw maps Amazon DynamoDB tables into PostgreSQL foreign tables. It supports SELECT, INSERT, UPDATE, and DELETE, pushes supported WHERE expressions and the DynamoDB SIZE operation, and can address nested map/list values with -> and ->>.
Define a foreign table
The server option is endpoint; user-mapping options are user and password; table options are partition_key, sort_key, and table_name; the column option is column_name. One README example uses username, but the validator accepts user, as shown above. Protect user mappings because they contain credentials.
The FDW does not support IMPORT FOREIGN SCHEMA, foreign-table TRUNCATE, or COPY FROM. DynamoDB sets are exposed as arrays but their order can change; null set elements are replaced with type defaults, and a missing map attribute does not satisfy the documented IS NULL pushdown. The README targets PostgreSQL 13 through 17 and requires the AWS C++ SDK. The catalog/control version is 1.1, while the same commit’s distribution metadata says 2.1.1; treat these as separate version channels rather than assuming interchangeability.