【发布时间】:2018-06-25 02:37:34
【问题描述】:
我在 Ubuntu 的终端模拟器 lxterminal 中使用 psql 命令行客户端。当我运行以下命令时,输出很混乱
students=# select * from information_schema.routines;
我想知道是否可以将终端仿真器中的输出视为一张漂亮的表格?谢谢。
附言这是mysql 的类似问题:How can I show the output of mysql commands correctly in a terminal emulator?。
【问题讨论】:
-
\x用于扩展输出 -
这可能也有帮助:github.com/okbob/pspg
标签: postgresql psql