Re: \pset xheader_width page as default? (Re: very long record lines in expanded psql output)

2022-08-30 Thread Andrew Dunstan
On 2022-08-30 Tu 10:55, Pavel Stehule wrote: > > > út 30. 8. 2022 v 16:49 odesílatel Pavel Stehule > napsal: > > > > út 30. 8. 2022 v 16:36 odesílatel Christoph Berg > napsal: > > Re: Pavel Stehule > > pspg requires all lines to have the same width. It can do > s

Re: \pset xheader_width page as default? (Re: very long record lines in expanded psql output)

2022-08-30 Thread Pavel Stehule
út 30. 8. 2022 v 16:49 odesílatel Pavel Stehule napsal: > > > út 30. 8. 2022 v 16:36 odesílatel Christoph Berg napsal: > >> Re: Pavel Stehule >> > pspg requires all lines to have the same width. It can do some >> corrections >> > - but it is hard to detect wanted differences or just plain text f

Re: \pset xheader_width page as default? (Re: very long record lines in expanded psql output)

2022-08-30 Thread Pavel Stehule
út 30. 8. 2022 v 16:36 odesílatel Christoph Berg napsal: > Re: Pavel Stehule > > pspg requires all lines to have the same width. It can do some > corrections > > - but it is hard to detect wanted differences or just plain text format. > > > > can be nice to have the first invisible row with some

Re: \pset xheader_width page as default? (Re: very long record lines in expanded psql output)

2022-08-30 Thread Christoph Berg
Re: Pavel Stehule > pspg requires all lines to have the same width. It can do some corrections > - but it is hard to detect wanted differences or just plain text format. > > can be nice to have the first invisible row with some information about > used formatting. pspg does some heuristic but this

Re: \pset xheader_width page as default? (Re: very long record lines in expanded psql output)

2022-08-30 Thread Pavel Stehule
út 30. 8. 2022 v 15:49 odesílatel Christoph Berg napsal: > Re: Andrew Dunstan > > >> + pg_log_error("\\pset: allowed xheader_width values > are full > > >> (default), column, page, or an number specifying exact width."); > > > Committed. There were a couple of bits missing, which I

\pset xheader_width page as default? (Re: very long record lines in expanded psql output)

2022-08-30 Thread Christoph Berg
Re: Andrew Dunstan > >> +   pg_log_error("\\pset: allowed xheader_width values are full > >> (default), column, page, or an number specifying exact width."); > Committed. There were a couple of bits missing, which I filled in, and I > changed the behaviour when the option is given with