PostgreSQL tips & tricks

From Jens' Hjørne
Revision as of 16:11, 31 January 2018 by Jens (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Display width when selecting data

Set the display mode to wrapped:

\pset format wrapped

Then set the display width to the width you want. Please note that the width is for the entire set of columns, not only for each individual text column.

\pset columns 100