seedfast_connections_test
Probes a PostgreSQL DSN for reachability with a connection pool ping and returns success or failure. Use before planning or running seeding to catch bad credentials or firewall issues.
Instructions
Probes a PostgreSQL database for reachability by opening a connection pool and issuing a ping with a 10-second timeout. Returns a short text line stating success or failure for the supplied DSN (credentials are masked in the output). Use this before seedfast_plan or seedfast_run to catch bad DSNs, firewall issues, or wrong credentials without incurring a planning or seeding round-trip. Does not require SEEDFAST_API_KEY. Next: on success, call seedfast_plan to preview a seeding plan or seedfast_run to execute one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsn | Yes | PostgreSQL connection string (e.g., postgres://user:pass@host:5432/db). Credentials are masked in log/response output. |