PostgreSQL + Relay
The world's most advanced open source database.
Browse schemas, write queries with autocomplete, visualize table relationships, and manage your PostgreSQL databases — all from a native macOS app.

Everything you need for PostgreSQL
Relay gives you a complete toolkit for working with PostgreSQL — no plugins, no extensions, just a native app that works.
Advanced Query Editor
Write SQL with full autocomplete, syntax highlighting, and inline error detection for PostgreSQL-specific syntax.
Schema Browser
Navigate tables, views, functions, triggers, indexes, and extensions across multiple schemas with filtering.
Query Plan Analyzer
Visualize EXPLAIN ANALYZE results as an interactive tree. Highlights slow nodes, bad estimates, and suggests missing indexes.
ERD Diagrams
Auto-generated entity relationship diagrams from foreign keys with zoom, pan, and schema filtering.
PostGIS Support
Detect geometry columns and visualize spatial data with EWKB to WKT decoding.
AI Assistant
Generate, fix, and explain queries with Anthropic, OpenAI, Google, GitHub Copilot, Vercel, Bedrock, or local LM Studio models.
Change Tracking
Review inserts, updates, and deletes before committing. Inline diffs and staged changes make destructive edits less stupid.
Import & Export
Import and export data with CSV, TSV, JSON, and SQL dump support, plus drag-and-drop file import where it makes sense.
Native Performance
Built with Swift and SwiftUI for instant startup, low memory, and smooth scrolling on macOS.
SSH Tunnels
Connect securely through SSH tunnels with password or key-based authentication.
Query Manager
Save, organize, and search queries with groups, file formats, and per-connection history.