Skip to content

Add cli2ui to GUI - #564

Open
MR-TABATA wants to merge 1 commit into
dhamaniasad:masterfrom
MR-TABATA:add-cli2ui
Open

MR-TABATA wants to merge 1 commit into
dhamaniasad:masterfrom
MR-TABATA:add-cli2ui

Conversation

@MR-TABATA

Copy link
Copy Markdown

Adds cli2ui to GUI, alphabetically between Chartbrew and Count.

cli2ui is a local-only web UI over the psql operations you keep half-remembering — pg_stat_activity, pg_locks, pg_stat_replication, pg_dump — turned into buttons. It runs on your machine, has no authentication by design, and is meant for app developers rather than DBAs.

What is different from the clients already in this section: it says what a destructive button is about to do, before you press it.

  • the exact SQL the button will send, composed by the same code path that executes it — not a second rendering that can drift from it
  • what a TRUNCATE or DROP … CASCADE takes with it: dependent views and materialized views by name, and foreign keys pointing at the table
  • estimated row counts from planner statistics, labelled as estimates — a table that has never been analyzed reports unknown, not zero
  • the SET lock_timeout that guards every destructive DDL, shown rather than merely applied

It also does the read-only side: health checks (unindexed foreign keys, redundant and invalid indexes, orphan rows, NULL gaps in composite UNIQUE constraints), head-blocker trees for pg_locks, standby replay lag in time rather than bytes, an EXPLAIN plan differ, and a what-if index lab that builds an index inside a transaction that is always rolled back.

MIT, docker compose up, and a sample database is bundled and pre-wired into the connection form, so there is nothing to install and no demo database to go find.

I am the author.

  • Alphabetical position within the section
  • Not already listed
  • Link resolves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant