Age | Commit message (Collapse) | Author |
|
|
|
I added two args for PGCli init, because I think we need to figure out
which history file to use on `__init__`. And we will need `histfile`
`alias_dsn` for that.
PS: I don't think change PGCli's property after initializing is good.
|
|
|
|
fix behave test, keep support for prompt-toolkit 2.x; lock prompt-toolkit==3.0.5 for test.
|
|
|
|
|
|
Otherwise it will use cache from travis.
|
|
This was introduced by: e9c97072afe9d79276da568ef6791276fddb15d7 ( Use
InputMode.REPLACE_SINGLE (#1208) )
see also: https://github.com/dbcli/pgcli/pull/1197
|
|
This reverts commit 59ae65cbbf698d1608e7fd3d55b507f3599ac117.
|
|
|
|
* 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.
|
|
|
|
InputMode.REPLACE_SINGLE was added to prompt-toolkit.
This fixes Exception <InputMode.REPLACE_SINGLE: 'vi-replace-single'>
in single-char replace mode when using prompt_toolkit>=3.0.6.
|
|
* 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
|
|
J bennet/fix sql comment
|
|
|
|
* Support style for missing value.
* update changelog.
* upgrade minimal version of cli_helpers, in order to use style for null.
|
|
Minor typo fixes in pgclirc
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
bugfix: don't echo a newline when output is empty.
|
|
|
|
* 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.
|
|
This file is a bash completion script for pgcli.
It allows to <tab> complete database names, users and hosts, plus showing the other available options when calling pgcli atthe terminal prompt.
In order to work it steals a couple of functions from psql, which is the postgres CLI client installed by default.
It is intended to be packaged with the debian package and to be copied on /usr/share/bash-completion/completions/pgcli (filename changes for consistency) upon installation of the package.
Please make the debian package mantainer aware of it and include it in the relevant section of the installation scripts/package.
I hope it is useful.
|
|
* Add --help output to README
* README: Add reference to psql env variables
|
|
|
|
|
|
|
|
|
|
* 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
|
|
add main file to allow python3 -m pgcli execution
|