Skip to content

PostgreSQL client for Mac

TableAI is a native macOS database client for PostgreSQL, with a SQL editor, editable results, structure tools, and database administration. Add your own AI provider key to generate PostgreSQL queries in chat or let the AI agent explore your schema and data. To weigh TableAI against other apps, see the PostgreSQL client for Mac overview and the PostgreSQL GUI comparison.

Connect to a server on your Mac, in a container, or on a remote network. TableAI supports PostgreSQL connection URLs, SSL/TLS certificates, and SSH tunnels. Start with connection basics, then choose the guide for your server:

Server Guide
On your Mac Local PostgreSQL
In a container Docker
Amazon Web Services RDS or Aurora
Microsoft Azure Azure Database for PostgreSQL
Google Cloud Cloud SQL
Heroku Heroku Postgres
Neon Neon
Supabase Supabase

See the support matrix for tested versions and feature coverage.

Use the Tables sidebar to find tables and views and inspect their columns, keys, and indexes. The SQL editor provides completions, query history, and saved queries.

The results grid loads large results in batches and draws the visible cells. You can filter columns, inspect values, and follow foreign keys to related rows. The PostgreSQL data types guide explains the value editors.

Row changes stay staged until you click Apply. Review the generated statements with Preview SQL before saving. See edit data safely for the complete workflow.

The structure editor keeps column, key, index, and constraint changes in a draft with a SQL preview. You can also inspect and edit definitions for views, routines, and triggers. See change structure.

Import or export table data through files when you need to move records between systems. The data transfer guide covers formats and review steps.

Open Admin to inspect sessions, locks, storage, and query and index statistics. These PostgreSQL guides provide SQL for individual checks:

Ask for SQL, explanations, or corrections using the schema and editor context you select. AI chat uses your own provider and API key.

Agent mode investigates questions through schema searches, read-only queries, and query plans. It returns proposed database changes as SQL for you to review and run. See the database agent.

Admin › AI Analysis produces a report from the database statistics you select, with evidence for its recommendations. It does not send table rows. See AI Database Analysis.

Use the PostgreSQL code in the database error to choose a guide:

Code Problem
28P01 Password authentication failed
23505 Duplicate unique key
42501 Insufficient privilege
40P01 Deadlock detected
53300 Too many connections

For a failure before PostgreSQL returns a code, start with connection failed.