Re: wrapping in extended mode doesn't work well with default pager
| От | Greg Stark |
|---|---|
| Тема | Re: wrapping in extended mode doesn't work well with default pager |
| Дата | |
| Msg-id | CAM-w4HPXQxM=F3YyLkdUGh71-JxtOdjbtRt6gcaZGOZd4FRPVg@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: wrapping in extended mode doesn't work well with default pager (Pavel Stehule <pavel.stehule@gmail.com>) |
| Список | pgsql-hackers |
I'm trying to review all the combinations of the options exhaustively
but in the process I noticed a few pre-existing psql oddities. Both of
these are present in 9.3:
Can anyone explain this? It's linestyle=old-style, border=1,
expanded=off, format=aligned. It looks like it's using new-style ascii
indicators in the header but old-style in the data cells:
a | a
+ |+ b
+ b |+
----------------------+--------------------xx | yyyyyyyyyyyyyyyyyyxxxx |
yyyyyyyyyyyyyyyyxxxxxx : yyyyyyyyyyyyyyxxxxxxxx : yyyyyyyyyyyyxxxxxxxxxx :
yyyyyyyyyyxxxxxxxxxxxx : yyyyyyyyxxxxxxxxxxxxxx : yyyyyyxxxxxxxxxxxxxxxx : yyyyxxxxxxxxxxxxxxxxxx :
yyxxxxxxxxxxxxxxxxxxxx:
(2 rows)
Also the line-ending white-space is very odd here. It's
linestyle=old-ascii, border=0, expanded=off, format=aligned. There's
an extra space on the header and the first line of the data, but not
on the subsequent lines of the data:
a a + b b +
-------------------- ------------------
xx yyyyyyyyyyyyyyyyyy
xxxx yyyyyyyyyyyyyyyy
xxxxxx yyyyyyyyyyyyyy
xxxxxxxx yyyyyyyyyyyy
xxxxxxxxxx yyyyyyyyyy
xxxxxxxxxxxx yyyyyyyy
xxxxxxxxxxxxxx yyyyyy
xxxxxxxxxxxxxxxx yyyy
xxxxxxxxxxxxxxxxxx yy
xxxxxxxxxxxxxxxxxxxx
(2 rows)
В списке pgsql-hackers по дате отправления: