1
0
mirror of https://github.com/dbcli/pgcli synced 2024-06-16 01:42:23 +00:00

Added documantation about tabulate's number formatting. Connect #617.

This commit is contained in:
Irina Truong 2017-02-04 18:56:20 -08:00
parent 2a83436f14
commit fdda8c4e5d

View File

@ -66,6 +66,10 @@ The `pgcli` is written using prompt_toolkit_.
* Config file is automatically created at ``~/.config/pgcli/config`` at first launch. * Config file is automatically created at ``~/.config/pgcli/config`` at first launch.
* Primitive support for ``psql`` back-slash commands. * Primitive support for ``psql`` back-slash commands.
* Pretty prints tabular data. * Pretty prints tabular data.
Note: `pgcli` uses [tabulate](https://github.com/dbcli/pgcli/blob/master/pgcli/packages/tabulate.py)
package to pretty-print tables. This library does smart formatting of numbers,
which can sometimes lead to unexpected output. See
[this issue](https://github.com/dbcli/pgcli/issues/617) for more details.
.. _prompt_toolkit: https://github.com/jonathanslenders/python-prompt-toolkit .. _prompt_toolkit: https://github.com/jonathanslenders/python-prompt-toolkit