Skip to main content

Module postgres

Module postgres 

Source
Expand description

PostgreSQL provider — database schema introspection via psql.

Extracts table/column definitions from information_schema to make database structure available as context. Uses psql CLI to avoid adding a native PG driver dependency.

Configuration via environment variables:

  • DATABASE_URL: Full connection string (e.g., “postgres://user:pass@host/db”)
  • Or individual: PGHOST, PGPORT, PGDATABASE, PGUSER, PGPASSWORD

Structs§

PostgresProvider