Back to apps

TotalDesktop / Native

TotalPG

Explore and edit PostgreSQL data, write SQL and inspect a database. Connections start protected in read-only mode; enable writes when you need them.

Screenshots

  • TotalPG
  • TotalPG

Overview

TotalPG

TotalPG is a PostgreSQL client for Mac and iPad that puts your data in front of you and keeps the ceremony out of the way.

Open a connection and its tables, views, materialized views, sequences and functions are already there. Click a table and you are looking at its rows — filtered, ordered and paged by the server, so what you see is the whole table and not just the first hundred rows brought over.

Everyday work

  • Going through data. Pick a table and read it. The filter takes a condition in SQL and the server applies it to everything; the arrows walk the pages.
  • Changing it. Double-click a cell and write, or open the whole row. Rows are written by their key, including tables keyed by more than one column. What PostgreSQL works out for itself is shown and left alone.
  • Writing SQL. An editor that colours what you write and finishes the names of your own tables and columns, with several queries open at once, your saved templates, and what you ran before.
  • Understanding a database you did not design. The details panel says, in words, how a row is named, what it points at, who points back at it, what a new row has to bring and what fills itself in — plus its indexes, its triggers and how big it is.

What it notices for you

  • Look a database over and TotalPG lists what is worth your attention: a table whose rows cannot be named one by one, a foreign key the server has to read a whole table to follow, a time stored without its time zone, and the Total.js way of naming things. Every note carries the statement that settles it, ready to put in the editor.
  • Where an index would help reads the plan of your query without running it, names the tables PostgreSQL would read whole, and writes the CREATE INDEX that answers them.
  • Find a value looks for it across every table at once. Each hit says which table, which column and what is there — and opens that row, ready to change.
  • Who is in there now lists the sessions connected to your server, what they are running and who is waiting for whom. A session can be told to stop, or disconnected.

Building and changing

  • New tables, renames, columns added, changed or dropped — with the statements in sight before they run, applied all together or not at all.
  • Indexes seen, created and taken away. Functions opened in a tab, changed and put back in place. Views edited. Materialized views rebuilt.
  • What the server says while it works — a RAISE NOTICE from a function, a warning — is read next to the answer instead of being lost.
  • A table goes out to CSV, JSON or SQL whole, and comes back in from CSV.

Siri and shortcuts

Three actions for the Shortcuts app, and through it for Siri: check whether a connection answers, run one of your saved queries and hear the answer, and look a database over. They hand their answer back as text, so you can chain them with anything else. What comes in this way only ever reads.

Protected connections

A connection arrives protected: PostgreSQL runs it read-only, so it answers questions and keeps the database exactly as it is. Turn protection off for the time you want to write. It is the server that enforces it, not a list of words.

Reaching your server

  • Direct, or through an SSH tunnel that TotalPG opens itself — with your password or your key, and the server's fingerprint remembered the first time.
  • TLS when your server offers it.
  • Connections move between your Mac and your iPad in a file you protect with a password of your own.

Made for total.js

The review knows the Total.js conventions — tbl_, cl_, log_, view_, id, dtcreated, is/has/can, dt — and the export writes your data out as SQL or as Total.js code ready to load.

Your data stays yours

Connections, history and templates live on your device. Passwords go to the Keychain. TotalPG talks to the servers you write down and to nobody else: no advertising, no tracking, no analytics.

Privacy

TotalPG stores database connection configuration locally and connects to PostgreSQL servers selected by the user. Query results and exports remain under user control.

Privacy Policy
TotalDesktop · AI & MCP

This website is built to be read by AI assistants. Connect your assistant to these public resources to learn about Spanish Total.js and prepare a project enquiry.

Connect your assistant to our MCP server

No account or token is needed. All tools are read-only public information.

https://totaldesktop.totaljs.es/mcp/
  1. In Claude or ChatGPT: add a custom connector with this address.
  2. In Claude Code, run:
    claude mcp add --transport http totaldesktop https://totaldesktop.totaljs.es/mcp/
  3. In Cursor or VS Code, add it to your MCP configuration:
    { "mcpServers": { "totaldesktop": { "url": "https://totaldesktop.totaljs.es/mcp/" } } }

Tools: Apps_list · Apps_get · Apps_search · Contact_prepare · Network_list · Website_pages · Website_read

Nothing is sent without your confirmation: an assistant can prepare the contact form, but you review and send it.

Made in Europe