Difference between revisions of "PostgreSQL tips & tricks"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 1: Line 1:
−
==Display width when selecting==
+
==Display width when selecting data==
  
 
Set the display mode to wrapped:
 
Set the display mode to wrapped:

Revision as of 11:44, 22 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