Difference between revisions of "PostgreSQL tips & tricks"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
 
Line 8: Line 8:
 
  \pset columns 100
 
  \pset columns 100
  
−
[[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]]
+
[[Category:Værktøjer, Programmering]]

Latest revision as of 16:11, 31 January 2018

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