Graphing within psql
I mentioned this on HN years ago but it’s nifty so add it here. You can graph SQL output with gnuplot without leaving the psql (Postgres client) command-line. Because @fusiongyro commented “This is incredible! I only wish it were a little easier to do on the fly,” I inquired on the amazingly helpful pgsql-general list. There are two approaches: client-side and server-side. Ian Barwick explained how to put all the prep stuff into a psql script, define your query and invoke the script. ...