Skip to content

sybase_fdw

C foreign data wrapper for accessing Sybase databases from PostgreSQL.

sybase_fdw · C foreign data wrapper for accessing Sybase databases from PostgreSQL.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
100566sybase_fdwsybase_fdw1.0FDWUnknownC

Usage

Sources:

sybase_fdw is an incomplete foreign-data-wrapper skeleton, not a usable Sybase connector. Version 1.0 registers a handler and validator, but every foreign-scan callback is NULL and the validator accepts options without implementing validation. It cannot plan or read a foreign table.

What Installation Creates

In a disposable development database, installation only demonstrates the registered wrapper objects:

CREATE EXTENSION sybase_fdw;

SELECT fdwname, fdwhandler::regproc, fdwvalidator::regproc
FROM pg_foreign_data_wrapper
WHERE fdwname = 'sybase_fdw';

The extension creates sybase_fdw_handler(), sybase_fdw_validator(text[], oid), and the sybase_fdw foreign data wrapper. It does not document connection, authentication, server, user-mapping, or foreign-table options.

Nonfunctional Boundary

The handler returns an FdwRoutine whose planning, explanation, begin, iterate, rescan, and end callbacks are all NULL. Therefore, do not publish a CREATE SERVER or CREATE FOREIGN TABLE workflow as if queries could succeed. The dummy validator also provides no protection from misspelled or unsafe options.

Use the project only as historical FDW scaffolding or as a starting point for development after implementing and testing the complete PostgreSQL FDW lifecycle, a Sybase client connection layer, type conversion, transactions, credentials, errors, cancellation, and cleanup. For actual Sybase access, select a maintained connector with documented compatibility and security behavior; the 1.0 label does not indicate production readiness.

Table reader