Back to directory

Fdw Development

Agent skill
1 skill

Building or modifying a Foreign Data Wrapper (FDW) — the SQL/MED interface for accessing external data as if it were PG tables. Covers the FdwRoutine callback set (GetForeignRelSize / GetForeignPaths / GetForeignPlan / BeginForeignScan / IterateForeignScan / ReScanForeignScan / EndForeignScan for scans, BeginForeignInsert / ExecForeignInsert / ... for DML), the postgresfdw reference implementation, plan pushdown (WHERE / JOIN / AGG / LIMIT), extended-explain support, and the FDW-related core code (src/backend/foreign/foreign.c, foreign-table catalog, user mappings). Loads when the user asks about writing an FDW, CREATE FOREIGN TABLE, why postgresfdw is fast, pushdown decisions (useremoteestimate, fdwstartupcost), user mappings and password security (passwordrequired), the loopback-back-to-self bypass-RLS pattern from postgresfdw, or adding a new pushdown-shape. Skip when the ask is about specific non-postgresfdw wrappers (filefdw, oraclefdw external, mysqlfdw external) — those are separate implementations.

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategorySecurityStars0

About this skill

Building or modifying a Foreign Data Wrapper (FDW) — the SQL/MED interface for accessing external data as if it were PG tables. Covers the FdwRoutine callback set (GetForeignRelSize / GetForeignPaths / GetForeignPlan / BeginForeignScan / IterateForeignScan / ReScanForeignScan / EndForeignScan for scans, BeginForeignInsert / ExecForeignInsert / ... for DML), the postgresfdw reference implementation, plan pushdown (WHERE / JOIN / AGG / LIMIT), extended-explain support, and the FDW-related core code (src/backend/foreign/foreign.c, foreign-table catalog, user mappings). Loads when the user asks about writing an FDW, CREATE FOREIGN TABLE, why postgresfdw is fast, pushdown decisions (useremoteestimate, fdwstartupcost), user mappings and password security (passwordrequired), the loopback-back-to-self bypass-RLS pattern from postgresfdw, or adding a new pushdown-shape. Skip when the ask is about specific non-postgresfdw wrappers (filefdw, oraclefdw external, mysqlfdw external) — those are separate implementations.

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: cf175c577a529dfc56e839403acea9c678af55d489937d08c8388be876dfc883

About scan coverage and limitations

About this listing

Category
Security
Reported license
PostgreSQL
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Fdw Development | Agent Skills Atlas