Re: very long record lines in expanded psql output

Platon Pronko <platon7pronko@gmail.com>

From: Platon Pronko <platon7pronko@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-05T14:50:50Z
Lists: pgsql-hackers
Hi!

> pspg supports copy cell to clipboard - you can copy complete cell
> 
> but I am not sure if it is working well in extended mode. This mode is not
> extra tested in pspg

Thanks for the tip!

I tried it out, in non-extended mode copy indeed works well, in extended mode vertical cursor
selects both columns (and copies both), and in extended+wrapped mode copy includes wrapping
symbol.

Best regards,
Platon Pronko



Commits

  1. psql: Tweak xheader_width and pager_min_lines input parsing

  2. Add xheader_width pset option to psql