Skip to content

Configuration

Configuration lives on two tabs:

  • Clusters — the clusters you connect to and the groups they belong to.
  • Settings — everything else: comment fields, call templates, role parents, the password generator, and general preferences.

Both tabs are staged. Adds, edits and deletes change an on-screen draft; nothing is written until you press Save. Discard reverts to the saved state.

Settings overview

Settings tab

Settings tab

Sections

SectionWhat it controls
ClustersConnection details, credentials, groups
Comment fieldsJSON keys shown as labelled inputs
Call templatesThe SQL behind every read and write
Preconfigured role parentsRole names offered as quick picks
Password generatorLength and character classes
GeneralAppearance, concurrency, update check

Configuration files

Two YAML files sit side by side, both written with owner-only permissions:

OSDirectory
macOS~/Library/Application Support/pgCowboy/
Linux~/.config/pgcowboy/
Windows%AppData%\pgCowboy\
  • config.yaml — call templates, introspection queries, role parents, comment fields, search columns and UI preferences. Not site-specific, so this is the one you can share with colleagues.
  • clusters.yaml — your clusters, their groups, and the remembered target selection. This is the file that may hold per-cluster passwords in clear text.