diff options
| author | Andrew Dunstan | 2022-07-25 18:24:50 +0000 |
|---|---|---|
| committer | Andrew Dunstan | 2022-07-25 18:25:02 +0000 |
| commit | a45388d6e0984abb02074f0300cd9c5cbda13848 (patch) | |
| tree | 95689aab9fda59493f9f119f9e45b5f22f0d4fab /src/test | |
| parent | b35617de37870756bdb0e00ffc0a42441e56eefa (diff) | |
Add xheader_width pset option to psql
The setting controls tha maximum length of the header line in expanded
format output. Possible settings are full, column, page, or an integer.
the default is full, the current behaviour, and in this case the header
line is the length of the widest line of output. column causes the
header to be truncated to the width of the first column, page causes it
to be truncated to the width of the terminal page, and an integer causes
it to be truncated to that value. If the full value is less than the
page or integer value no truncation occurs. If given without an argument
this option prints its current setting.
Platon Pronko, somewhat modified by me.
Discussion: https://postgr.es/m/f03d38a3-db96-a56e-d1bc-dbbc80bbde4d@gmail.com
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/psql.out | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/regress/expected/psql.out b/src/test/regress/expected/psql.out index 60acbd1241e..a7f5700edc1 100644 --- a/src/test/regress/expected/psql.out +++ b/src/test/regress/expected/psql.out @@ -317,6 +317,7 @@ tuples_only off unicode_border_linestyle single unicode_column_linestyle single unicode_header_linestyle single +xheader_width full -- test multi-line headers, wrapping, and newline indicators -- in aligned, unaligned, and wrapped formats prepare q as select array_to_string(array_agg(repeat('x',2*n)),E'\n') as "ab |
