Context
Bun corpus position 4041, js/third_party/pg/pg.test.ts, contains two test bodies gated together by TLS_POSTGRES_DATABASE_URL. The runner records the skipped describe as one intentional todo. The fixture covers a TLS pool version query plus a client lifecycle that creates a table, inserts 300 parameterized rows, reads them back, and closes cleanly.
Remaining work
- Connect the
pgClient and Pool adapters to Home's native PostgreSQL/TLS transport. - Support
pg-connection-stringoptions, TLS settings, pool lifecycle, parameterized bulk inserts, row counts, and client cleanup. - Exercise a deterministic local TLS PostgreSQL fixture where possible while preserving the upstream secret-backed path.
- Ensure connect/query/pool errors expose stable codes, operation/phase, sanitized endpoint/database context, causes, and operation stack frames without leaking credentials or query parameters.
Acceptance
- The copied file remains one intentional skipped-suite todo without
TLS_POSTGRES_DATABASE_URLand both contained tests pass when a compatible endpoint is configured. - Permanent local coverage verifies connection parsing, pool/client lifecycle, bulk parameter handling, cleanup, and redacted diagnostics.
- #66 references the completed transport slice and corpus counts.