Skip to content

sdb_fdw

Foreign data wrapper for SequoiaDB collections

sequoiadb · Foreign data wrapper for SequoiaDB collections

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102038sdb_fdwsequoiadb1.0FDWApache-2.0C

PostgreSQL · 9.3

Usage

Sources:

sdb_fdw maps SequoiaDB collections to PostgreSQL foreign tables. The authoritative connector documentation targets the historical SequoiaSQL/PostgreSQL 9.3.4 environment; current stock PostgreSQL compatibility is unverified.

Core Workflow

After the matching connector and SequoiaDB client libraries are installed, an administrator can create the wrapper and map an existing collection.

CREATE EXTENSION sdb_fdw;
CREATE SERVER sdb_server FOREIGN DATA WRAPPER sdb_fdw
  OPTIONS (address 'localhost', service '11810');
CREATE FOREIGN TABLE records (a integer, b integer, c text)
  SERVER sdb_server OPTIONS (collectionspace 'cs', collection 'cl');
SELECT * FROM records;

Mapping and Boundaries

Server options identify the coordinator address and service. Table options collectionspace and collection identify the remote collection. Quoted dotted column names can map nested document fields; compatible PostgreSQL arrays map array values. The adapter and its cryptographic/client dependencies are built within the SequoiaDB source tree, not supplied as an independent modern PGXS package. Review remote credentials and write semantics for the deployed SequoiaDB version; no cross-database atomicity guarantee is established here.

Table reader