TIL: Formatting psql output
You can format your query output to more readable format.
It will output a vertical record instead of horizontal when record is not fit into the width of your screen.
You can also make it automatic
To turn it off