TIL: Formatting psql output
You can format your query output to more readable format.
\x on
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
\x auto
To turn it off
\x off