Re: Unicode UTF-8 table formatting for psql text output
От
Alvaro Herrera
Тема
Re: Unicode UTF-8 table formatting for psql text output
Дата
Msg-id
20090827141732.GC11213@alvh.no-ip.org
Ответ на
Re: Unicode UTF-8 table formatting for psql text output (Alvaro Herrera)
Список
Дерево обсуждения
Unicode UTF-8 table formatting for psql text output Roger Leigh <rleigh@debian.org>
Unicode UTF-8 table formatting for psql text output Roger Leigh <rleigh@debian.org>
[PATCH 7/7] psql: Don't print leading - with expanded=1 and border=0 Roger Leigh <rleigh@debian.org>
Unicode UTF-8 table formatting for psql text output Roger Leigh <rleigh@debian.org>
[PATCH 8/9] psql: print_aligned_vertical_line: Correct alignment Roger Leigh <rleigh@debian.org>
[PATCH 9/9] psql: print_aligned_vertical: Correct indentation Roger Leigh <rleigh@debian.org>
Re: Unicode UTF-8 table formatting for psql text output Robert Haas <robertmhaas@gmail.com>
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 Roger Leigh <rleigh@codelibre.net>
Re: Unicode UTF-8 table formatting for psql text output Alvaro Herrera <alvherre@commandprompt.com>
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 Alvaro Herrera <alvherre@commandprompt.com>
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 Alvaro Herrera <alvherre@commandprompt.com>
Re: Unicode UTF-8 table formatting for psql text output Alvaro Herrera <alvherre@commandprompt.com>
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 Selena Deckelmann <selenamarie@gmail.com>
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 Selena Deckelmann <selenamarie@gmail.com>
Re: Unicode UTF-8 table formatting for psql text output Robert Haas <robertmhaas@gmail.com>
Re: Unicode UTF-8 table formatting for psql text output "Brad T. Sliger" <brad@sliger.org>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
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 Andrew Dunstan <andrew@dunslane.net>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Andrew Dunstan <andrew@dunslane.net>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text output Andrew Dunstan <andrew@dunslane.net>
Re: Unicode UTF-8 table formatting for psql text output Alvaro Herrera <alvherre@commandprompt.com>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
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 Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
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 "Brad T. Sliger" <brad@sliger.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 Peter Eisentraut <peter_e@gmx.net>
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 Tom Lane <tgl@sss.pgh.pa.us>
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 Roger Leigh <rleigh@codelibre.net>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text
output "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
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 Tom Lane <tgl@sss.pgh.pa.us>
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 Peter Eisentraut <peter_e@gmx.net>
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 Roger Leigh <rleigh@codelibre.net>
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 Peter Eisentraut <peter_e@gmx.net>
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 Greg Stark <gsstark@mit.edu>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
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 Tom Lane <tgl@sss.pgh.pa.us>
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 Roger Leigh <rleigh@codelibre.net>
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 Bruce Momjian <bruce@momjian.us>
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 Roger Leigh <rleigh@codelibre.net>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
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 Roger Leigh <rleigh@codelibre.net>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text output Greg Stark <gsstark@mit.edu>
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 Andrew Dunstan <andrew@dunslane.net>
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 Andrew Dunstan <andrew@dunslane.net>
Re: Unicode UTF-8 table formatting for psql text output Alvaro Herrera <alvherre@commandprompt.com>
Re: Unicode UTF-8 table formatting for psql text output "Brad T. Sliger" <brad@sliger.org>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Robert Haas <robertmhaas@gmail.com>
Re: Unicode UTF-8 table formatting for psql text output Peter Eisentraut <peter_e@gmx.net>
Re: Unicode UTF-8 table formatting for psql text output Robert Haas <robertmhaas@gmail.com>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Andrew Dunstan <andrew@dunslane.net>
Re: Unicode UTF-8 table formatting for psql text output Robert Haas <robertmhaas@gmail.com>
Re: Unicode UTF-8 table formatting for psql text output Alvaro Herrera <alvherre@commandprompt.com>
Re: Unicode UTF-8 table formatting for psql text output Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Alvaro Herrera <alvherre@commandprompt.com>
Re: Unicode UTF-8 table formatting for psql text output Andrew Dunstan <andrew@dunslane.net>
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 Tom Lane <tgl@sss.pgh.pa.us>
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 Tom Lane <tgl@sss.pgh.pa.us>
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 Tom Lane <tgl@sss.pgh.pa.us>
Re: Unicode UTF-8 table formatting for psql text output Greg Stark <gsstark@mit.edu>
Re: Unicode UTF-8 table formatting for psql text output Andrew Dunstan <andrew@dunslane.net>
Alvaro Herrera escribió:
> > I initially left these exactly the same as for ASCII (the ':' and ';'
> > usage). However, it's quite possible to make it use other characters.
> > We could use the same lines, or two, three or four dashed lines
> > ('╎' and '╏', or ┆' and '┇' or '┊' and '┋').
>
> This works for me (say ╎ for newline-separated strings and ┊ for wrapped
> output).
So it'd look like this:
alvherre=# select * from foo;a │ b
━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━1 │ En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no ha mucho ┊ tiempo que vivía un hidalgo de los de lanza en astillero, adarga antigua, ┊ rocín flaco y galgo corredor. Una olla de algo más vaca que carnero, salpi ┊ cón las más noches, duelos y quebrantos los sábados, lantejas los viernes, ┊ algún palomino de añadidura los domingos, consumían las tres partes de su ┊ hacienda. El resto della concluían sayo de velarte, calzas de velludo par ┊ a las fiestas, con sus pantuflos de lo mesmo, y los días de entresemana se ┊ honraba con su vellorí de lo más fino. Tenía en su casa una ama que pasa ┊ ba de los cuarenta, y una sobrina que no llegaba a los veinte, y un mozo d ┊ e campo y plaza, que así ensillaba el rocín como tomaba la podadera.2 │ —«Nunca fuera caballero de ╎ damas tan bien servido ╎ como fuera don Quijote ╎ cuando de su aldea vino: ╎ doncellas curaban dél; ╎ princesas, del su rocino»
(2 filas)
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления