tpaw Docs

Connections

Create, edit, and manage PostgreSQL connections in tpaw, including SSH tunnels and environment tags.

A tpaw connection stores everything needed to reach a PostgreSQL server — host, port, credentials, SSL settings, and optionally an SSH tunnel configuration. Credentials are stored in the macOS Keychain, not in plain text.

Connection fields

FieldRequiredDescription
NameYesLabel shown on the home screen card
HostYesHostname or IP of the PostgreSQL server
PortYesPostgreSQL port, default 5432
UsernameYesPostgreSQL role name
PasswordNoStored in macOS Keychain
DatabaseNoSpecific database to connect to; omit for default
SSL ModeYesDisable / Prefer / Require
Environment TagNoprod / staging / dev / local — shown as colored dot
Read-onlyNoPrevents mutation queries in this connection
SSH TunnelNoRoute connection through an SSH bastion host

Creating a connection

From the home screen: Click New Connection or press Cmd+N.

From a PostgreSQL URL: Paste a postgres:// URL into the URL field at the top of the connection form. All fields are auto-filled.

Testing a connection

Click Test before saving to verify the server is reachable and credentials are correct. The test result shows:

  • Green banner with latency — success
  • Red banner with PostgreSQL error code — failure

Editing a connection

Right-click a connection card on the home screen → Edit Connection. Make changes and click Save.

Copying as URL

Right-click a connection card → Copy as URL to copy the full postgres:// connection string to the clipboard (includes password).

Deleting a connection

Right-click a connection card → Delete. This removes the connection config and removes the Keychain entry.

What's in this section

On this page