Re: Problem with displaying "wide" tables in psql

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Problem with displaying "wide" tables in psql
Дата
Msg-id CAM-w4HO0HnQhQzkx=4LKntHcE=4fh83ijZa6fNq7eaKznJO7Kw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problem with displaying "wide" tables in psql  (Sergey Muraviov <sergey.k.muraviov@gmail.com>)
Ответы Re: Problem with displaying "wide" tables in psql  (Sergey Muraviov <sergey.k.muraviov@gmail.com>)
Список pgsql-hackers
Looks good.

It's still not doing the old-ascii column dividers but to be honest
I'm not sure what the intended behaviour of old-ascii is. I've noticed
old-ascii only displays the line markers for dividing lines, not the
final one. That seems pretty useless and maybe it's why we switched to
the new "ascii" mode, I don't recall.

This is the way old-ascii displays when two columns are wrapping -- it
seems pretty confused to me. The headers are displaying newline
markers from the ascii style instead of : indicators in the dividing
line. The : and ; markers are only displayed for the first column, not
the second one.

Maybe since the : and ; markers aren't shown for the final column that
means the expanded mode doesn't have to do anything since the column
is only ever the final column.


+--------------------+-----------------+
|         x          |        x        |
|+        y          |+       y        |
|+        z          |+       z        |
+--------------------+-----------------+
| x                  | xxxxxxxxxxxxxxx |
| xx                 ; xxxx            |
| xxx                : xxxxxxxxxxxxxxx |
| xxxx               ; xxx             |
| xxxxx              : xxxxxxxxxxxxxxx |
| xxxxxx             ; xx              |
| xxxxxxx            : xxxxxxxxxxxxxxx |
| xxxxxxxx           ; x               |
| xxxxxxxxx          : xxxxxxxxxxxxxxx |
| xxxxxxxxxx         : xxxxxxxxxxxxxx  |
| xxxxxxxxxxx        : xxxxxxxxxxxxx   |
| xxxxxxxxxxxx       : xxxxxxxxxxxx    |
| xxxxxxxxxxxxx      : xxxxxxxxxxx     |
| xxxxxxxxxxxxxx     : xxxxxxxxxx      |
| xxxxxxxxxxxxxxx    : xxxxxxxxx       |
| xxxxxxxxxxxxxxxx   : xxxxxxxx        |
| xxxxxxxxxxxxxxxxx  : xxxxxxx         |
| xxxxxxxxxxxxxxxxxx : xxxxxx          |
| xxxxxxxxxxxxxxxxxx : xxxxx           |
| x                  : xxxx            |
| xxxxxxxxxxxxxxxxxx : xxx             |
| xx                 : xx              |
| xxxxxxxxxxxxxxxxxx : x               |
| xxx                :                 |
| xxxxxxxxxxxxxxxxxx :                 |
| xxxx               :                 |
| xxxxxxxxxxxxxxxxxx :                 |
| xxxxx              :                 |
| xxxxxxxxxxxxxxxxxx :                 |
| xxxxxx                               |
| xxxxxxxxxxxxxxxxxx                   |
| xxxxxxx                              |
+--------------------+-----------------+

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: [PATCH] Negative Transition Aggregate Functions (WIP)