Skip to content
PgFlow-ai

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

Running profiler trace: a live grid of Extended:ExecuteCompleted events with duration and start time, and the selected statement shown with its bind parameters substituted

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.

Explore the Query Profiler
Trace Properties dialog with the General, Events Selection and Capture tabs, the Standard template selected and options to save to a file or a table

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.

Actual execution plan drawn as a diagram from right to left, with per-node cost and time percentages, a properties panel and a warning about a sequential scan

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
AI Advisor tab under a trace: a diagnosis of a parallel sequential scan and a table of recommendations with impact, risk and SQL, plus Apply and Roll back buttons

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 Advisor

Everything else

A complete PostgreSQL workbench

Development, design, data and administration tools in one window, with light and dark themes.

See all features

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.