\x

Category: Databases & SQL

\x

Toggle expanded output for wide rows

Switches between normal columnar output and vertical format, where every column prints as name: value on its own line. Turn it on when a table has too many columns to fit the screen. Related: \pset format to fine-tune output.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.