by kmstout · 6y ago · 0 comments
psql OPTIONS <<EOF
SELECT ...
EOF
in a shell script (probably wrapped in a function for convenience).It doesn't help with visualizing schemas, however.
On rare occasions I still need a GUI tool to explore a database because GUI definitely wins during the exploration phase by a lot.
Ironically enough for report writing I use metabase web ui. it serves most purposes I need from it.