summaryrefslogtreecommitdiffstats
path: root/changelog.rst
AgeCommit message (Collapse)Author
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
2019-09-27add optional but default squash merge request to PULL_REQUEST_TEMPLATE (#1095)Dick Marinus
2019-09-02Changelog.Irina Truong
2019-08-23Issue 1018 display first 1k rows (#1092)Irina Truong
* Added changes to remove the prompt on >1000 rows queries * Reformatted with black * Changed comment on row_limit parameter * Added contribution to changelog and name to AUTHORS * Refactored test to reflect new functionality * Removed argument * Removed debug echo statement * Reformatted with black * Added changes to remove the prompt on >1000 rows queries * Reformatted with black * Changed comment on row_limit parameter * Added contribution to changelog and name to AUTHORS * Refactored test to reflect new functionality * Removed argument * Removed debug echo statement * Reformatted with black * Added missing issue numbers in changelog * Reformatted code using black
2019-07-29Add key bindings to consistently move up and down in history (#1084)Pedro Ferrari
2019-07-12Issue 1019 stacktrace on empty query (#1078)Sebastian Janko
* Added changes to skip empty queries Empty queries consist of one or more semicolons * Reformatted with black * Added contribution to changelog and name to AUTHORS * Black.
2019-06-09Partial fix for #1058. (#1068)Irina Truong
2019-06-03Merge pull request #1064 from dbcli/amjith/slash-GAmjith Ramanujam
Add \G as a temporary way to use expanded mode.
2019-06-02Add keybinding for alt-enter to introduce a line break (#1065)Pablo
* Add keybinding for alt-enter to introduce a line break. * Update changelog. * Added myself to AUTHORS file * Fixed quote issue by pre-commit
2019-06-02Update changelog.Amjith Ramanujam
2019-05-30Changelog update before release. (#1062)Irina Truong
2019-05-30README.rst: tidy up redundant instructions (#1061)Alexander Zawadzki
* README.rst: tidy up redundant instructions Remove the README section which detailed how to force `psycopg2` 2.7 dependency installation from source rather than binary. `psycopg2` 2.7 would automatically favour installation from binary. A bug affecting some users made it desirable to have the option to install from source instead. The README detailed how to do this using pip's `--no-binary` option (nice!). `psycopg2` 2.8 has now split the binary and source dependencies into different packages with different names (source: [psycopg2 docs](http://initd.org/psycopg/docs/install.html#change-in-binary-packages-between-psycopg-2-7-and-2-8)) which makes the `--no-binary` instructions redundant. To specify source/binary you now need to explicitly specify the desired package. As of #1060, installing `pgcli` from pip will result in the installation of `psycopg2` 2.8 from source. * README: additional instructions for psycopg2 2.7 users Anyone limited to psycopg2 2.7 may still encounter some known issues when installing from binary. Add a link to the README to acknowledge this, and help those users install it from source. * Update changelog.rst * Update AUTHORS * Update changelog
2019-05-29Allow psycopg2 up to 2.8.2 (#1060)Telmo "Trooper
* Allow psycopg2 up to 2.8.2 This fixes the issue with pgcli not working on Arch Linux, since the package `python2-psycopg2` is already on 2.8.2. * Added name to 'AUTHORS' and contribution to 'changelog.rst' referring to #2de6266 * Allow for newer versions of psycopg2 to be used
2019-05-25black all the things. (#1049)Irina Truong
* added black to develop guide * no need for pep8radius. * changelog. * Add pre-commit checkbox. * Add pre-commit to dev reqs. * Add pyproject.toml for black. * Pre-commit config. * Add black to travis and dev reqs. * Install and run black in travis. * Remove black from dev reqs. * Lower black target version. * Re-format with black.