Docs

Connections

/* CapyDB speaks normal Postgres: one direct URL, one pooled URL, both usable from standard clients and frameworks. */

SECTOR 0x01

Direct access

Use the direct URL when you need a normal PostgreSQL session, administrative SQL access, or migration tools that expect a direct database connection.

SECTOR 0x02

Pooled access

Use the pooled URL for app traffic with many short-lived connections. The current infrastructure layer uses pgBouncer so your app can stay busy without turning connections into confetti.

SECTOR 0x03

Connection fields

  • >>Host and ports come from the selected cluster
  • >>Each project has a generated database name and role name
  • >>The frontend exposes both URLs once the provision job completes
  • >>Preview databases expose the same direct and pooled connection pattern