pgcli v0.20.0 Release Notes
-
๐ Features:
- Perform auto-completion refresh in background. (Thanks: Amjith,
Darik Gamble
,Irina Truong
). When the auto-completion entries are refreshed, the update now happens in a background thread. This means large databases with thousands of tables are handled without blocking. - โ Add
CONCURRENTLY
to keyword completion. (Thanks:Johannes Hoff
_). - โ Add support for
\h
command. (Thanks:Stuart Quin
_). This is a huge deal. Users can now get help on an SQL command by typing:\h COMMAND_NAME
in the pgcli prompt. - โ Add support for
\x auto
. (Thanks:Stuart Quin
_).\\x auto
will automatically switch to expanded mode if the output is wider than the display window. - Don't hide functions from pg_catalog. (Thanks:
Darik Gamble
_). - Suggest set-returning functions as tables. (Thanks:
Darik Gamble
_). Functions that return table like results will now be suggested in places of tables. - Suggest fields from functions used as tables. (Thanks:
Darik Gamble
_). - Using
pgspecial
as a separate module. (Thanks:Irina Truong
_). - ๐ Make "enter" key behave as "tab" key when the completion menu is displayed. (Thanks:
Matheus Rosa
_). - ๐ Support different error-handling options when running multiple queries. (Thanks:
Darik Gamble
_). Whenon_error = STOP
in the config file, pgcli will abort execution if one of the queries results in an error. - Hide the password displayed in the process name in
ps
. (Thanks:Stuart Quin
_)
๐ Bug Fixes:
- ๐ Fix the ordering bug in
\\d+
display, this bug was displaying the wrong table name in the reference. (Thanks:Tamas Boros
_). - Only show expanded layout if valid list of headers provided. (Thanks:
Stuart Quin
_). - ๐ Fix suggestions in compound join clauses. (Thanks:
Darik Gamble
_). - ๐ Fix completion refresh in multiple query scenario. (Thanks:
Darik Gamble
_). - ๐ Fix the broken timing information.
- ๐ Fix the removal of whitespaces in the output. (Thanks:
Jacek Wielemborek
_) - ๐ Fix PyPI badge. (Thanks:
Artur Dryomov
_).
๐ Improvements:
- ๐ Move config file to
~/.config/pgcli/config
instead of~/.pgclirc
(Thanks:inkn
_). - ๐ Move literal definitions to standalone JSON files. (Thanks:
Darik Gamble
_).
Internal Changes:
- ๐ Improvements to integration tests to make it more robust. (Thanks:
Irina Truong
_).
- Perform auto-completion refresh in background. (Thanks: Amjith,