Potent Thrifty Iridium
2020-10-22 #projects #personal #postgres #tuiARCHIVED pgcli does everything I wish.
Postgres Text Interface.
- Simple, Borland-like interface.
- List of servers/connections.
+----------------------------------------+
| *Connected to XXX* |
+----------------------------------------+
| Query |
| |
| |
| |
+----------------------------------------+
| Results |
| +----+---------+----------+------+---> |
| | Fi | Field | Field | Fiel | F |
| +----+---------+----------+------+---> |
| | Va | Value | Value | Valu | V |
| | Va | Value | Value | Valu | V |
| | Va | Value | Value | Valu | V |
| | Va | Value | Value | Valu | V |
| +----+---------+----------+------+---> |
+----------------------------------------+
<Tab>
jumps between results and query.- Save queries?
- Could save and load files, the are pure text anyway...
- How does one disconnect/return to server list?
- VIM-like keybinds, maybe?
- Replace commands like
\dt
withshow tables
(accept both)- More interesting, using
show tables
should show that the actual command is\dt
- More interesting, using
- Auto-complete tables, fields, etc (pretty much what psql does already)