summaryrefslogtreecommitdiffstats
path: root/changelog.rst
AgeCommit message (Collapse)Author
2021-05-06Include functions from search_path in completion.Amjith Ramanujam
2021-05-06Merge branch 'master' into func-prAmjith Ramanujam
2021-05-06Add missing function literalsPaweł Sacawa
2021-05-02Modify changelogPaweł Sacawa
2021-03-12Use configured pager if table format is csv. (#1260)Irina Truong
* Use configured pager if table format is csv. * Changelog. * Simplify.
2021-03-12fix IPython magic (#1253)Georgy Frolov
2021-02-26Changelog.Irina Truong
2021-02-22skip initial comment in pg_session file (#1245)Georgy Frolov
* skip initial comment in pg_session file * add test
2021-02-22fixed unknown symbol REPLACE_SINGLE in prompt_toolkit < 3.0.6 (#1246)Georgy Frolov
* fixed unknown symbol REPLACE_SINGLE in prompt_toolkit < 3.0.6 * changelog
2021-02-12Finer control over destructive warning. (#1242)Irina Truong
* Finer control over destructive warning. * Review feedback. * Changelog. * Run integration tests with --warn=moderate. * Fix typo. * Black.
2021-02-10Fix issue where `syntax_style` config value would not have any effect (#1241)Eero Ruohola
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
2020-12-11Changelog update before release. (#1227)Irina Truong
2020-12-01dependencies: add support for sqlparse 0.4.x (#1224)Kevin Marsh
2020-09-08Add schema suggestion for functions (#1206)Jan Brun Rasmussen
* 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.
2020-07-31More explicit error message when DSN alias is not found (#1198)Tom Caruso
* add a specific error message when DSN with provided alias is not found * update changelog & authors file
2020-07-31Update suggestion literals (#1195)Sky.G.Uieen
* Updated all data types literals * Updated sql functions literals * Updated changelog and auther * Updated test code * Added datatype test case
2020-07-28Move from humanize to pendulum library for displaying query durations (#1199)Tom Caruso
2020-07-08Keep support for prompt_toolkit 2 (#1197)Dick Marinus
* Keep support for prompt_toolkit 2 * include prompt toolkit 3
2020-07-07Add custom color (#1196)Sky.G.Uieen
* Updated author, changelog for supporting color of string, number, keyword * Added string, number, keyword custom color
2020-06-26Fix for #1193 list index out of range on sql comment.Irina Truong
2020-05-28Support style for missing value. (#1186)laixintao
* Support style for missing value. * update changelog. * upgrade minimal version of cli_helpers, in order to use style for null.
2020-05-26Add nameanthonydb
2020-05-26Add info to changelog.rst and AUTHORSanthonydb
2020-05-11Update python version from 2.7 to 3.8 in Dockerfile (#1181)Igor Kim
* Update python version from 2.7 to 3.8 in Dockerfile * Update AUTHORS and changelog.rst
2020-04-23Add support for using pspg as the pager. (#1173)pmav99
* 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
2020-04-18Update changelog for the compact output.Amjith Ramanujam
2020-04-17show_bottom_toolbar - Feature to Show/Hide Toolbar (#1170)Stephano Paraskeva
* 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
2020-04-17Add pg_service.conf handling (#1155)g.denis
* add parse_service_info * added tests * changelog + AUTHORS * py35
2020-04-10New release 3.0.0. (#1165)Irina Truong
2020-04-05upgrade prompt-toolit to 3.0 (#1149)赖信涛
* 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.
2020-03-18python3.8: add travis test and setup.py class. (#1157)赖信涛
2020-03-12Fix: Unable to drop previously connected-to database (#1152)g.denis
* close connections + added to authors + changelog * check conn exists
2020-03-11Drop Python3.5. (#1154)赖信涛
* Drop Python3.5. * delete 3.5 from setup.py * fix black format. Using python3.7 for development now. * black target to py36
2020-03-09Deprecate Python2.7. (#1153)赖信涛
* 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.
2020-02-13Add Support for partitioned tables. (#1145)lazydba247
* 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)
2020-01-15Drop Python 3.4 support (#1141)赖信涛
* 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
2020-01-14Fix warning raised for using `is not` to compare string literal (#1139)George Thomas
Using `is not` for comparing string literals raises warning that != should be used. Fixes #1138
2020-01-07Merge branch 'master' into main-fileAmjith Ramanujam
2020-01-03Add my name to changelog.BrownShibaDog
2020-01-01Add lines to changelog.rst.BrownShibaDog
2019-12-19add main file to allow python3 -m pgcli executionJonas Jelten
2019-12-08Merge pull request #1122 from TheJJ/prompt-colorsAmjith Ramanujam
support ansi escape sequences for prompt colors
2019-12-04J bennet/release 2.2.0 (#1126)Irina Truong
* Changelog. * Bump pgspecial. * Restrict prompt_toolkit to <3.0.0.
2019-11-25support ansi escape sequences for prompt colorsJonas Jelten
2019-10-28Changelog.Irina Truong
2019-10-26Changelog.Irina Truong
2019-10-16Merge pull request #1107 from owst/function_arg_completions_with_aliasAmjith Ramanujam
Take account of table aliases when completing function args (#1048)
2019-10-16fixup! fixup! Handle a multi-line query on Enter key-press (fixes #1031)Owen Stephens
2019-10-13Handle a multi-line query on Enter key-press (fixes #1031)Owen Stephens
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)
2019-10-12Take account of table aliases when completing function args (#1048)Owen Stephens