Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
* Use configured pager if table format is csv.
* Changelog.
* Simplify.
|
|
|
|
|
|
* skip initial comment in pg_session file
* add test
|
|
* fixed unknown symbol REPLACE_SINGLE in prompt_toolkit < 3.0.6
* changelog
|
|
* Finer control over destructive warning.
* Review feedback.
* Changelog.
* Run integration tests with --warn=moderate.
* Fix typo.
* Black.
|
|
These config properties got introduced in 41dd24e8 as a means to have
more granular control over the syntax highlighting. The problem is that
these cannot be in the default config file since `get_config()` always
reads both the default config file and the user specified one, and there
is no way to unset these variables in the user specified config file to
restore their default behavior. Even if there would be a way, it
wouldn't be intuitive at all to be required to unset some random
settings under the `[colors]` section just to be able to use the well
documented `syntax_style` setting.
Note that one *can* still set these three lines in their user config
file if they want to utilize them.
Resolves #1212
|
|
|
|
|
|
* Add schema suggestion for functions
- Update sqlcompletion.py
- Update metadata files
* Move autocomletion for function under condition
- Make sure suggestion are only added under drop, alter etc.
|
|
* add a specific error message when DSN with provided alias is not found
* update changelog & authors file
|
|
* Updated all data types literals
* Updated sql functions literals
* Updated changelog and auther
* Updated test code
* Added datatype test case
|
|
|
|
* Keep support for prompt_toolkit 2
* include prompt toolkit 3
|
|
* Updated author, changelog for supporting color of string, number, keyword
* Added string, number, keyword custom color
|
|
|
|
* Support style for missing value.
* update changelog.
* upgrade minimal version of cli_helpers, in order to use style for null.
|
|
|
|
|
|
* Update python version from 2.7 to 3.8 in Dockerfile
* Update AUTHORS and changelog.rst
|
|
* Stop printing "status" when table_format is "csv"
* Use the "unix" dialect on *nix for CSV output.
* Use a pager when `pspg` has been configured with CSV "table_format".
Fix #1102
|
|
|
|
* adds ternary to decide whether bottom_toolbar is shown based on config value
* runs black format
* adds name to authors
* modifies changelog.rst
* removes change in changelog.rst
* formats config
* removes unused variable, adds change to changelog
* changes default back to true
* removed reference to var
|
|
* add parse_service_info
* added tests
* changelog + AUTHORS
* py35
|
|
|
|
* upgrade prompt-toolit to 3.0
fix: https://github.com/dbcli/pgcli/issues/1148
related:
https://github.com/prompt-toolkit/python-prompt-toolkit/issues/886
in order to make the `behave` test pass, I have to:
- extend timeout for database connection test.
- extend timeout for basic command expect.
- extend timeout for features/steps/crud_table.py:: see data selected.
- disable cpr for features but "run the cli"
* [ci] disable CPR for all behave tests.
* bugfix: remove duplicated prompt expect.
* [ci] delete CPR env setting.
* Revert "[ci] delete CPR env setting."
This reverts commit fe4d5b565e01be6237b6df646429d26eaa0c6d92.
* revert the extending timeout back.
* [ci] test when didn't disable CPR.
* Revert "[ci] test when didn't disable CPR."
This reverts commit d379b1e736dcc6623ba53fc3d4e6f095fd3e8344.
|
|
|
|
* close connections + added to authors + changelog
* check conn exists
|
|
* Drop Python3.5.
* delete 3.5 from setup.py
* fix black format. Using python3.7 for development now.
* black target to py36
|
|
* deprecate Python2.7.
So we can use latest version of prompt-toolit.
Relate: https://github.com/dbcli/pgcli/pull/1149
* black format, remove 2.7 support.
* using version py35 for black.
* Revert "black format, remove 2.7 support."
This reverts commit 4b6d0496ccc18d0ebd696b5f21d8065c4a9b0cb9.
* deprecated py27 using black.
* remove 2.7 from travis.
* update setup.py: delete python 2.7 support.
|
|
* partitioned tables: add support
Starting from 9.6+ relkind has new members (more info here: https://www.postgresql.org/docs/12/catalog-pg-class.html)
* Update AUTHORS
* Update changelog.rst
* foreign tables: add support
Starting from 9.6+ relkind has new members (more info here: https://www.postgresql.org/docs/12/catalog-pg-class.html)
|
|
* remove python3.4 support.
Python 3.4 has reached end-of-life.
https://www.python.org/downloads/release/python-340/
* drop maximun version of pytest
* update changelog
* add laixintao to contributors, delete py34 from tox
|
|
Using `is not` for comparing string literals raises warning that != should be
used.
Fixes #1138
|
|
|
|
|
|
|
|
|
|
support ansi escape sequences for prompt colors
|
|
* Changelog.
* Bump pgspecial.
* Restrict prompt_toolkit to <3.0.0.
|
|
|
|
|
|
|
|
Take account of table aliases when completing function args (#1048)
|
|
|
|
Use a (conditional) Enter key-binding to force-handle a multi-line
buffer, rather than doing so by (conditionally) disabling the multiline
mode of prompt_toolkit.
This has the benefit of being more efficient (the multiline Condition
filter is called very often, which (due to the repeated query parsing)
causes editing to become slow with a large buffer that ends in a
semicolon), clearer in intent (we want to force-handle the query, rather
than (temporarily) disable multiline mode which indirectly forces the
buffer to be handled) and avoids a bug in multi-line history search
(issue #1031)
|
|
|