postgresql/src/fe_utils
Andrew Dunstan a45388d6e0 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
2022-07-25 14:25:02 -04:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00
archive.c Improve frontend error logging style. 2022-04-08 14:55:14 -04:00
cancel.c Avoid calling gettext() in signal handlers. 2022-01-17 13:30:04 -05:00
conditional.c Allow pgbench to retry in some cases. 2022-03-23 19:05:45 +09:00
connect_utils.c Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
mbprint.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
option_utils.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
parallel_slot.c Improve frontend error logging style. 2022-04-08 14:55:14 -04:00
print.c Add xheader_width pset option to psql 2022-07-25 14:25:02 -04:00
psqlscan.l Reject trailing junk after numeric literals 2022-02-16 10:37:31 +01:00
query_utils.c Remove redundant null pointer checks before PQclear and PQconninfoFree 2022-07-03 20:11:05 +02:00
recovery_gen.c Improve frontend error logging style. 2022-04-08 14:55:14 -04:00
simple_list.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
string_utils.c Fix minor memory leaks in psql's tab completion. 2022-07-22 10:53:26 -04:00