PostgreSQL IDE · Windows, macOS & Linux
The PostgreSQL IDE that shows you every query as it runs
Write SQL, design schemas, compare databases and administer servers in one fast desktop app, then open a live trace to see exactly which statements are slow, blocked or failing, and why.
14-day trial · no account · no card
- PostgreSQL 12–18 Tested against 13, 16, 17
- Cloud & managed Postgres Anything you can reach with libpq
- Windows & macOS .msi installer · .dmg for Apple silicon and Intel
- Debian & Ubuntu x64 .deb package
Query Profiler
A live trace, in the style of SQL Server Profiler
PostgreSQL has no built-in trace tool. The profiler gives you one: connect, pick a template, press Run, and events stream into a grid you can filter, group, save and replay.
- Statements, prepared-statement phases with bind parameters, errors, deadlocks and lock waits as they happen
- Built from the server log, pg_stat_activity and pg_stat_statements, mapped to familiar event classes and columns
- Templates, capture-time column filters, grouped views, bookmarks and Find
- Save to a file or a table, extract the SQL, and replay it against another server
Need zero server changes? The Activity_Sampler template works with only pg_read_all_stats.
Execution plans & AI Advisor
From “this query is slow” to a fix you can review
Select a statement, open its plan, and ask the advisor. It proposes concrete changes with the SQL, a rollback statement, an impact and a risk rating, then re-runs the plan to compare before and after.
Plans drawn the way you think about them
Per-node cost and time, edge widths that follow the row count, and warnings for bad estimates, filtering sequential scans and sorts that spill to disk. Actual plans run in a transaction that is always rolled back.
Execution plans
An advisor that never runs SQL behind your back
Use Claude, OpenAI, Gemini, a local Ollama and more with your own key. The model inspects the database read-only; every change goes through the Apply dialog for you to confirm.
AI AdvisorEverything else
A complete PostgreSQL workbench
Development, design, data and administration tools in one window, with light and dark themes.
- SQL editor Completion from the live catalog, JOINs on foreign keys, snippets, formatter, server-side paging and query history.
- Table designer Columns, constraints, indexes and options, with the live ALTER or CREATE script before you apply it.
- ER diagram Auto layout, crow’s-foot relationships, draw foreign keys, export to PNG or SVG.
- Schema & data compare Side-by-side DDL diff, row-level data compare, and sync scripts for both.
- Import & export Import CSV, JSON and XLSX with append, upsert or skip. Export to eight formats.
- Server monitor Live charts, sessions you can cancel or terminate, lock chains, top queries, table and index health.
- Security Roles, membership, object privileges and default privileges.
- Backup & restore pg_dump, pg_restore and psql from a dialog, plus VACUUM, ANALYZE and REINDEX.
- Pivot, reports & documenter Drag-and-drop pivots with charts, grouped printable reports, and HTML or Markdown database docs.
Your data stays on your machine
PgFlow-ai is a desktop app that talks to your database and nothing else, unless you ask it to.
-
Offline license check
Keys are signed and verified on your computer. After activation the app works fully offline.
-
No telemetry
The app sends no usage data, analytics or tracking of any kind.
-
AI on your terms
The AI Advisor uses your own provider key, and only runs when you ask it a question.
Pricing
Pay once. Keep it.
A perpetual license with every 1.x update. No subscription. 30-day money-back guarantee.
Perpetual · one payment
Pro
For one developer or DBA.
$49 USD
one-time · perpetual license
- Users
- 1 named user
- Activations
- 2 computers
- Every feature, including the Query Profiler and AI Advisor
- Perpetual license: it never expires
- All 1.x updates included
- For one person, on 2 computers; move them yourself
- Commercial use included
- Email support
Team 5-pack
For a small team, under one order.
$149 USD
one-time · perpetual licenses
- Users
- 5 named users
- Activations
- 10 computers
- Everything in Pro, for five people
- 10 activations shared across the team
- Reassign a seat when someone leaves
- One order, one invoice
- All 1.x updates included
- Email support
Larger teams
More seats, or special pricing.
Contact sales
also education & non-profit
- Users
- Any number of users
- Activations
- As agreed
- Volume licensing beyond 5 users
- Education and non-profit pricing
- Pay by invoice on request
- Same perpetual license terms
Frequently asked questions
Which PostgreSQL versions does PgFlow-ai support?
PostgreSQL 12 and later. It has been tested against 13, 16 and 17. Some features use newer server capabilities when available, for example generic plans on PostgreSQL 16+.
Does it work with cloud and managed PostgreSQL?
It connects over the standard PostgreSQL protocol (libpq), so any server you can reach with a normal connection works. Features that read the server log or change server settings depend on the privileges your provider grants; the Activity_Sampler trace template needs only pg_read_all_stats.
Is there a macOS version?
Yes. PgFlow-ai runs on macOS 13 Ventura or later, with separate downloads for Apple silicon and Intel Macs, as well as on Windows 10/11 x64 and Debian/Ubuntu x64.
How does the free trial work?
Install the app and press “Start free trial”. You get 14 days with every feature, without an email address, an account or a card. There is one trial per computer.
Is it a subscription?
No. Pro is a one-time payment for a perpetual license for one named user. It never expires and includes every 1.x update.
Does PgFlow-ai send my data anywhere?
No. There is no telemetry, and the license is checked offline. Besides starting the trial or activating a license, the only feature that goes online is the optional AI Advisor, which contacts the AI provider you configure, with your key, only when you ask it a question.
Try it on your own database
Download PgFlow-ai and press “Start free trial” in the app. 14 days, every feature, no account and no card.