pm-postgres
Purpose
Reads PostgreSQL tables, supports PostgreSQL 14+ logical-replication CDC into the local warehouse, and delivers managed PostgreSQL targets through the warehouse-mediated transport. Direct Connector.Write remains unavailable; query is not implemented.
Icon
Capabilities
- check=true catalog=true read=true write=false query=false
- Integration type: database
Authentication
- password: Live connections require password authentication; peer/socket and client-certificate modes, including ambient certificates, are unsupported.
- config: host, database, username
- secrets: password
- supports: read=true write=false
Configuration
- cdc_publication
- cursor_field
- database (required)
- host (required)
- mode
- port
- read_limit
- schema
- sslmode
- sslrootcert
- sslservername
- username (required)
- password (secret) (required when mode is not fixture): Fixture mode does not open a source connection.
Security
- read risk: low
- write risk: not a generic write capability; the closed managed target transport follows its existing plan, preview, approval, execute boundary
- approval: source reads require none; managed target transport follows its plan, preview, approval, execute boundary
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.
Sync Transport
- Source transport: declared
- Destination transport: declared
- A declared transport still requires runtime preflight and externally verified conformance; it is not a certification claim.
- Source executor: native_database/postgres_polling_watermark
- Destination executor: native_database/postgres_managed_target
Polling Watermark
- Static declaration status: planned
- Mechanism: polling_watermark is a bounded polling scan, not CDC or change capture.
- Runtime eligibility: this connector constructs an implemented declaration per selected catalog object. Every requested mode still requires runtime preflight for its destination binding, registered native executors, and immutable conformance evidence.
- Reason: PostgreSQL binds its cursor type, per-stream cursor column, and unique tie-breaker from the live catalog at run time. The static bundle cannot truthfully name those dynamic fields; the live sync transport constructs and preflights the implemented polling declaration.
Commands
Inspect as a manual
pm connectors inspect postgres
Inspect as structured JSON
pm connectors inspect postgres --json
Agent Rules
- Run pm connectors inspect postgres before creating credentials or plans.
- Use --json only when the caller needs structured output; use the manual for human-readable guidance.
- Never ask the user to paste secret values into chat.
1---2name: pm-postgres3description: PostgreSQL connector knowledge and safe action guide.4metadata:5 source: https://skillmd.com/skills/polymetrics-ai/pm-postgres6---78# pm-postgres910## Purpose1112Reads PostgreSQL tables, supports PostgreSQL 14+ logical-replication CDC into the local warehouse, and delivers managed PostgreSQL targets through the warehouse-mediated transport. Direct Connector.Write remains unavailable; query is not implemented.1314## Icon1516- id: postgresql17- asset: icons/postgresql.svg18- source: upstream_registry19- review_status: upstream_seeded20- review_url: https://www.postgresql.org/docs/current/2122## Capabilities2324- check=true catalog=true read=true write=false query=false25- Integration type: database2627## Authentication2829- password: Live connections require password authentication; peer/socket and client-certificate modes, including ambient certificates, are unsupported.30 - config: host, database, username31 - secrets: password32 - supports: read=true write=false3334## Configuration3536- cdc_publication37- cursor_field38- database (required)39- host (required)40- mode41- port42- read_limit43- schema44- sslmode45- sslrootcert46- sslservername47- username (required)48- password (secret) (required when mode is not fixture): Fixture mode does not open a source connection.4950## Security5152- read risk: low53- write risk: not a generic write capability; the closed managed target transport follows its existing plan, preview, approval, execute boundary54- approval: source reads require none; managed target transport follows its plan, preview, approval, execute boundary55- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.5657## Sync Transport5859- Source transport: declared60- Destination transport: declared61- A declared transport still requires runtime preflight and externally verified conformance; it is not a certification claim.62- Source executor: native_database/postgres_polling_watermark63- Destination executor: native_database/postgres_managed_target6465## Polling Watermark6667- Static declaration status: planned68- Mechanism: polling_watermark is a bounded polling scan, not CDC or change capture.69- Runtime eligibility: this connector constructs an implemented declaration per selected catalog object. Every requested mode still requires runtime preflight for its destination binding, registered native executors, and immutable conformance evidence.70- Reason: PostgreSQL binds its cursor type, per-stream cursor column, and unique tie-breaker from the live catalog at run time. The static bundle cannot truthfully name those dynamic fields; the live sync transport constructs and preflights the implemented polling declaration.7172## Commands7374### Inspect as a manual7576```bash77pm connectors inspect postgres78```7980### Inspect as structured JSON8182```bash83pm connectors inspect postgres --json84```8586## Agent Rules8788- Run pm connectors inspect postgres before creating credentials or plans.89- Use --json only when the caller needs structured output; use the manual for human-readable guidance.90- Never ask the user to paste secret values into chat.