Re: Unicode UTF-8 table formatting for psql text output

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Unicode UTF-8 table formatting for psql text output
Дата
Msg-id 20090826023250.GS12604@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Unicode UTF-8 table formatting for psql text output  (Roger Leigh <rleigh@codelibre.net>)
Ответы Re: Unicode UTF-8 table formatting for psql text output
Список pgsql-hackers
Roger Leigh escribió:

> An updated copy of the patch is attached.

I give it a try.  It looks very reasonable.  We could argue about the
exact chars to use but that can be changed later.

Did you give expanded output a look?  (\x)  I find it a bit weird that
the first line shows a single-pixel wide line but the subsequent ones
are thicker.

BTW I think you should also look at multiline fields,
a │                                           b                                           
━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━4 │ some text  : and some
more : and then some
 
(1 filas)

And wrapped:

alvherre=# select * from foo;a │                                     b                                      
━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━5 │ En un lugar de la Mancha, de cuyo
nombreno quiero acordarme, no ha mucho   ; tiempo que vivía un hidalgo
 
(1 fila)


-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: TODO item: Allow more complex user/database default GUC settings
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Difficulty in partial writable TOAST value