ずっとpsql使ってなかったのでコマンドさっぱり忘れてる。
MySQLではselectクエリの最後にセミコロンの代わりに\Gにするとカラムが横ではなく縦になって表示されるんだけど、psqlではどうやったらいいのか。
--expanded
Turn on the expanded table formatting mode. This is equivalent to the \x command.
\x Toggles expanded table formatting mode. As such it is equivalent to \pset expanded.
\xで切りかえると。