SQL output can be messy. Psql options for formatting output. A handy option is
\pset border 2
This will add top and bottom borders with double lines (╔, ╚, ╤, ╧, etc.). A Header row bordered with a double-line separator . Each row is separated by single lines. Each column is clearly separated.
8 months ago