Andrew Speed
82d84ec89f
Remove OrderedDict workaround for python < 2.7
2017-08-20 14:46:45 +01:00
Irina Truong
b136196f29
Merge pull request #780 from dbcli/feature/output_formatter_generator
...
Preliminary work for a future change in outputting results that uses less memory
2017-08-18 15:27:43 -07:00
Dick Marinus
d2ecbde849
Preliminary work for a future change in outputting results that uses less memory
2017-08-18 20:40:16 +02:00
Dick Marinus
5ab0dbfdea
Fix TODO, optionally use POSTGRES_USER, POSTGRES_HOST POSTGRES_PASSWORD from environment
2017-08-18 06:52:29 +02:00
Irina Truong
1e77eab21b
Merge pull request #773 from dbcli/fpietka/conninfo
...
Add \conninfo command
2017-08-13 17:21:42 -07:00
François Pietka
3d2b4d0862
Update changelog
2017-08-12 13:03:29 +02:00
Amjith Ramanujam
887a826415
Merge branch 'master' into koljonen/array_formatting
2017-08-06 21:16:08 -06:00
Amjith Ramanujam
99c9040c3d
Merge pull request #771 from dbcli/koljonen/reservered_words
...
Don't quote identifiers that are non-reserved keywords
2017-08-06 21:14:40 -06:00
Amjith Ramanujam
962f53fbf8
Merge branch 'master' into fpietka/drop-column
2017-08-06 21:08:48 -06:00
François Pietka
9d84955fa6
Update changelog
2017-08-07 00:20:46 +02:00
Joakim Koljonen
c616a8b422
Improve formatting of array output
...
Before this change, e.g. `SELECT '{1}'::numeric` would output `[Decimal(1)]`.
Now it instead outputs `{1}`.
2017-08-06 19:30:34 +02:00
Joakim Koljonen
b90beeb4d3
Don't quote identifiers that coïncide with non-reserved keywords
...
Keep track of which keywords are reserved, and quote identifiers
that coïncide with those.
https://www.postgresql.org/docs/10/static/sql-keywords-appendix.html
2017-08-06 09:46:52 +02:00
Joakim Koljonen
64505a9e33
Update changelog
2017-08-06 08:29:24 +02:00
François Pietka
f63081495c
Use psycopg2 to get database details
2017-07-29 16:05:35 +02:00
Amjith Ramanujam
a79db9d9af
Changelog update.
2017-07-24 10:34:54 -07:00
Amjith Ramanujam
5a8e5d21b6
Merge pull request #677 from dbcli/koljonen/suggest_functions_with_args
...
Include arguments in function suggestions
2017-07-20 09:48:28 -07:00
Amjith Ramanujam
925341cbce
Add fish-style autosuggestion.
2017-07-16 15:20:10 -07:00
Joakim Koljonen
a326e54884
Merge branch 'master' into koljonen/suggest_functions_with_args
2017-07-16 12:13:36 +02:00
Irina Truong
f806de003b
Changelog update to release 1.7.0.
2017-07-15 19:20:46 -07:00
François Pietka
90fd160c90
Update changelog
2017-07-15 01:18:32 +02:00
Joakim Koljonen
43dbe96936
Add change to changelog
2017-07-07 17:22:18 +02:00
Joakim Koljonen
f355c30ef7
Include arguments in function completions
...
E.g. instead of suggesting `my_func()`, suggest `my_func(arg1 :=, arg2 :=)`
or `my_func(arg1 text, arg2 bigint)`, depending on the context.
2017-06-25 01:35:22 +02:00
Thomas Roten
39ee5579c4
Add cli helpers to changelog.
2017-06-19 09:27:10 -05:00
Irina Truong
d060de940e
Merge branch 'master' into j-bennet/set-less-if-unset
2017-06-10 17:35:32 -07:00
Irina Truong
aea44a67fc
Changelog.
2017-06-09 14:45:36 -07:00
Irina Truong
01de6b6c8c
Changelog.
2017-06-09 11:17:04 -07:00
Thomas Roten
95358a1dc1
Add homebrew update to changelog.
2017-06-02 14:13:53 -05:00
Thomas Roten
bdf0d88ef3
Merge branch 'master' of github.com:dbcli/pgcli into j-bennet/refresh-after-rollback
...
* 'master' of github.com:dbcli/pgcli:
Create signed tags in release script.
Updated changelog.
Some pep8 in config module.
DSN aliases should take custom pgclirc into account.
2017-05-29 08:00:49 -05:00
Irina Truong
fc3025e9bc
Refresh completions after COMMIT or ROLLBACK.
2017-05-28 17:56:48 -07:00
Irina Truong
bc047758c6
Updated changelog.
2017-05-28 15:04:57 -07:00
Amjith Ramanujam
565dc02a16
Merge pull request #719 from dbcli/j-bennet/release-1.6.0
...
Preparing to release 1.6.0.
2017-05-26 20:34:38 -07:00
Alexander Schmolck
52e47f3705
Update AUTHORS and changelog.rst
2017-05-25 14:49:30 +01:00
Dick Marinus
c6ae43a398
Merge remote-tracking branch 'upstream/master' into feature/tox_behave
2017-05-22 20:45:55 +02:00
Dick Marinus
bbb0866806
Add behave to tox
2017-05-22 20:44:02 +02:00
Irina Truong
3900329faa
Preparing to release 1.6.0.
2017-05-17 20:09:21 -07:00
gustavo
6fba6037cc
Adding link to my github profile
2017-05-10 19:51:39 +02:00
gustavo
cfb86c2c64
Updating AUTHORS and changelog
2017-05-10 19:49:08 +02:00
Irina Truong
d62f1e5030
Merge pull request #710 from dbcli/tsroten/edit_last_command
...
Edit last-run query in external editor.
2017-05-06 15:25:18 -07:00
Thomas Roten
cdec31d8f2
Merge branch 'master' of github.com:dbcli/pgcli into tsroten/edit_last_command
2017-05-06 13:52:01 -05:00
Dick Marinus
0031814627
fix pgspecial update in behave tests
2017-05-06 15:51:47 +02:00
Thomas Roten
c389f5371d
Edit last-run query in external editor.
2017-05-02 23:31:29 -05:00
Dick Marinus
f39dda5773
Behave remove boiler plate code
2017-05-02 20:20:13 +02:00
Irina Truong
b0d77c1021
Changelog.
2017-04-30 16:46:09 -07:00
Irina Truong
2e4b907b19
Merge pull request #701 from jdpopkin/fix_lock_error
...
Fix handling of failure to obtain lock
2017-04-30 16:12:27 -07:00
Jackson Popkin
110f13fe10
Update changelog, AUTHORS
2017-04-29 20:56:34 -04:00
Irina Truong
84d89250cd
Merge branch 'master' into feature/behave_fix_cleanup
2017-04-29 14:55:58 -07:00
Irina Truong
b2a22580a6
Merge pull request #706 from dbcli/feature/behave_tee
...
Test using behave the tee command
2017-04-29 14:51:48 -07:00
darikg
5508d725b9
Merge pull request #693 from bersace/well-known-following-keywords
...
Complete well known following keywords
2017-04-29 15:47:33 -04:00
Dick Marinus
5a60402649
Test using behave the tee command
2017-04-29 21:35:06 +02:00
Dick Marinus
d71032c37f
behave fix clean up
...
In an earlier commit I've changed the current working directory and
the removal of a temporary file didn't take that into account.
2017-04-29 10:10:05 +02:00
Dick Marinus
8fa3d18353
behave test source command
2017-04-28 21:16:11 +02:00
Dick Marinus
6f1f4bfa8e
behave quit pgcli nicely
2017-04-28 18:00:51 +02:00
Étienne BERSAC
293b6b3a41
Complete keywords depending on previous token
...
Keywords list is based on
https://www.postgresql.org/docs/9.6/static/sql-commands.html .
2017-04-27 21:32:43 +02:00
Étienne BERSAC
ef096222ca
Fix @meeuw broken link
2017-04-27 16:39:33 +02:00
Étienne BERSAC
50b8ea9f47
Fix spurious conflict marker in Changelog
...
Fixes:
changelog.rst:9: (SEVERE/4) Missing matching underline for section title overline.
=======
2017-04-27 16:17:49 +02:00
Étienne BERSAC
9327caa601
Fix Changelog title
...
Fixes:
changelog.rst:2: (WARNING/2) Title underline too short.
Upcoming
=====
2017-04-27 16:17:37 +02:00
Irina Truong
bad238f996
Merge pull request #686 from owst/column_completion_for_order_by_and_distinct
...
Suggest columns for `ORDER BY` and `DISTINCT` (fixes #685 )
2017-04-26 11:01:32 -07:00
Owen Stephens
3d560baf6c
Suggest columns for ORDER BY
and DISTINCT
( fixes #685 )
...
Having typed an alias name in an `ORDER BY` or (`SELECT`) `DISTINCT`
clause, the alias was not taken account of, and the completion simply
listed all columns. This change fixes that, and makes the autocompletion
behave the same as in `SELECT` and `WHERE` clauses.
2017-04-26 01:10:57 +01:00
Dick Marinus
bc47a07d92
behave pager wrapper
2017-04-25 07:37:53 +02:00
Amjith Ramanujam
edf40d052b
Merge branch 'master' into koljonen/case_column_titles
2017-04-21 07:38:14 -07:00
Irina Truong
b3ade2db9d
Ported pep8radius addition from mycli.
2017-04-07 17:00:35 -07:00
Russell Davies
f8597b78a6
Standardize command line option names
...
This standardizes on the same names as psql and removes some
conflicts.
2017-04-07 12:02:07 +01:00
Owen Stephens
e5d3d5d63f
Allow configurable multiline continuation char
2017-03-30 11:12:25 +01:00
Irina Truong
26174637d8
Added fix to changelog.
2017-03-21 21:31:26 -07:00
Joakim Koljonen
49ba6b4001
Casing for column headers (based on casing file)
...
```
koljonen@localhost:koljonen> SELECT transferid, parenttransferid, amount from transfers
╒══════════════╤════════════════════╤══════════╕
│ TransferID │ ParentTransferID │ Amount │
╞══════════════╪════════════════════╪══════════╡
...
...
...
```
2017-03-18 18:51:56 +01:00
Joakim Koljonen
d32049bfde
Update changelog.rst
2017-03-14 22:37:39 +01:00
Irina Truong
6a30874e3d
Changelog for bugfix release 1.5.1.
2017-03-13 22:52:14 -07:00
Irina Truong
f621dce8ad
Track recent changes in changelog.
2017-03-11 15:23:48 -08:00
koljonen
1277752d62
Find statements inside function body
...
Consider this script
```
CREATE FUNCTION foo() returns text LANGUAGE SQL AS $func$
SELECT 1 FROM Bar;
SELECT <cursor> FROM Baz;
$func$;
```
The change here is that `SELECT <cursor> FROM Baz;` will be seen as the
current statement, instead of the whole function definition.
This means we'll no longer get column suggestions from `Bar`.
2017-03-09 01:41:11 +01:00
Amjith Ramanujam
0ab1cade0e
Changelog update for 1.5.0
2017-03-03 15:55:39 -08:00
Irina Truong
d9649db2e8
Release v1.4.0.
2017-01-10 16:35:59 -08:00
Amjith Ramanujam
2f015c05f8
Update changelog for version 1.3.1
2016-10-26 12:37:46 -07:00
Amjith Ramanujam
3e0aa27231
Changelog and authors update for 1.3.0
2016-10-22 10:11:11 -07:00
Amjith Ramanujam
cea051922d
Update Changelog.
2016-09-02 06:47:36 -07:00
Amjith Ramanujam
84aa89d112
Update changelog for version 1.2.0 release.
2016-09-01 05:45:18 -07:00
Amjith Ramanujam
db140fb766
Update changelog for release 1.1.0.
2016-07-01 23:13:50 -07:00
Amjith Ramanujam
c3a1431fa0
Update the changelong to include pgspecial upgrade.
2016-06-21 00:59:49 -07:00
Amjith Ramanujam
9f91f02aee
Merge branch 'amjith/release-1.0' of github.com:dbcli/pgcli into amjith/release-1.0
2016-06-19 15:19:00 -07:00
Amjith Ramanujam
83dd783814
Update authors and changelog.
2016-06-19 15:15:55 -07:00
Amjith Ramanujam
7ced391208
Update Anthony's github address.
2016-05-26 00:19:56 -07:00
Amjith Ramanujam
7b8f546270
Update changelog for release 1.0.0.
2016-05-11 22:59:49 -07:00
Iryna Cherniavska
b4bea5f2f5
Preparing release 0.20.1 with Windows log fix.
2015-11-07 11:23:39 -08:00
Amjith Ramanujam
2c1c493977
Update the changelong to add \h.
2015-10-31 22:11:24 -07:00
Amjith Ramanujam
6bdb3504ed
Update the changelong and AUTHORS for 0.20.0 release.
2015-10-31 06:49:50 -07:00
Iryna Cherniavska
804dd446b5
Updated changelog and AUTHORS for v0.19.2.
2015-08-28 22:38:18 -07:00
Amjith Ramanujam
518fbdade7
Fix typo in in changelog.
2015-08-09 19:36:27 -07:00
Amjith Ramanujam
f4e59035b8
Update changelog for 0.19.1 release.
2015-08-04 07:10:38 -07:00
Amjith Ramanujam
0bd63653ec
Fix a typo in changelog.
2015-08-03 08:49:26 -07:00
Amjith Ramanujam
57e436ace1
Update changelog.
2015-08-02 17:09:17 -07:00
Amjith Ramanujam
5568ada162
Update Changelog for version 0.18.0.
2015-07-04 23:13:42 -07:00
Amjith Ramanujam
da31947d3b
Update changelog for 0.17.0 release.
2015-05-24 23:38:39 -07:00
Amjith Ramanujam
ca2373330b
Update Changelog.
2015-04-15 11:39:40 -07:00
Amjith Ramanujam
1b91c4e060
Update Changelog.
2015-04-15 06:36:20 -07:00
Amjith Ramanujam
e1958c0f9b
Add instructions for RPM and DEB package building.
2015-04-14 22:16:13 -07:00
Amjith Ramanujam
0a916e313d
Update changelog.
2015-04-05 17:28:47 -07:00
Amjith Ramanujam
84184fc67a
Prep changelog for next release.
2015-04-02 18:31:22 -07:00
Amjith Ramanujam
dfa01ffb44
Changelog update.
2015-04-02 18:19:07 -07:00
Amjith Ramanujam
b3f4dcfe12
Update Changelog.
2015-03-26 21:21:21 -07:00
Amjith Ramanujam
a80eb4ea19
Add a title field and report the notices. Closes #177
2015-03-25 00:26:38 -07:00
Amjith Ramanujam
67c0b3db08
Changelog update.
2015-03-22 13:55:33 -07:00
Amjith Ramanujam
70f6800d5a
Update changelog.
2015-03-14 13:38:12 -07:00
Amjith Ramanujam
b19537ac3b
Update changelog.
2015-03-10 00:20:57 -07:00
Amjith Ramanujam
7bb9e51b10
Update changelog.
2015-03-08 18:07:18 -07:00
Amjith Ramanujam
dab63ee30b
Changelog update.
2015-03-03 23:17:41 -08:00
Amjith Ramanujam
416f7f11eb
Specify how to enable vi bindings in changelog.
2015-03-01 01:19:15 -08:00
Amjith Ramanujam
e88121758b
Update changelog.
2015-03-01 00:58:02 -08:00
Amjith Ramanujam
90cc90edfc
Changelog update.
2015-02-28 21:56:53 -08:00
Amjith Ramanujam
09da888f88
Update changelog.
2015-02-26 23:35:56 -08:00
Amjith Ramanujam
0a27ac24c6
Update changelog.
2015-02-26 19:58:03 -08:00
Amjith Ramanujam
aa28c92bbd
Changelog update.
2015-02-13 17:03:24 -08:00
Amjith Ramanujam
871f7d66ca
Changelog update.
2015-02-13 00:55:42 -08:00
Amjith Ramanujam
60ec5565e7
Changelog update.
2015-02-12 22:31:43 -08:00
Amjith Ramanujam
7c8e3bf7df
Update changelog.
2015-02-12 18:36:44 -08:00
Amjith Ramanujam
7174d2f4bd
Update changelog.
2015-02-12 00:14:55 -08:00
Amjith Ramanujam
2576ce1bf5
Override LESS options completely.
2015-02-08 20:33:04 -08:00
Amjith Ramanujam
3afb59c83d
Update changelog.
2015-02-08 14:09:12 -08:00
Amjith Ramanujam
b6fa56728c
Update changelog.
2015-02-04 22:03:51 -08:00
Amjith Ramanujam
b6cf4cb855
Add completion for COPY command.
2015-02-04 18:32:50 -08:00
Amjith Ramanujam
adba3ed2e1
Update changelog.
2015-02-02 19:00:00 -08:00
Amjith Ramanujam
f956fa80ea
Add a test for the boolean printing.
2015-01-31 16:38:47 -08:00
Amjith Ramanujam
6130b1ebf9
Remove duplicate entry in features.
2015-01-31 15:49:45 -08:00
Amjith Ramanujam
ce888c32b0
Add missing changelog entries.
2015-01-31 15:41:11 -08:00
Amjith Ramanujam
4e815a9058
changelog fix.
2015-01-31 15:26:33 -08:00
Amjith Ramanujam
eb006c0ea2
Changelog update.
2015-01-29 22:23:09 -08:00
Amjith Ramanujam
b9e692e89f
Update TODO and changelog.
2015-01-26 23:26:07 -08:00
Amjith Ramanujam
cfa67eb875
Update changelog.
2015-01-21 21:45:38 -08:00
Amjith Ramanujam
84b0048369
Prep for release.
2015-01-14 17:12:02 -08:00
Amjith Ramanujam
ee7134ec83
Update changelog with \? crash fix.
2015-01-14 17:07:41 -08:00
Amjith Ramanujam
07ed2edc1f
Changelog update.
2015-01-13 22:16:41 -08:00
Amjith Ramanujam
aeed3b8b51
Change the version number in changelog to 0.12.0.
2015-01-12 23:58:51 -08:00
Amjith Ramanujam
ff9e4d2634
changelog update.
2015-01-12 23:56:02 -08:00
Amjith Ramanujam
7c1c1a9f29
Update changelog.
2015-01-12 00:40:10 -08:00
Amjith Ramanujam
a79991dd53
Update changelog to add username used for database name.
2015-01-10 17:06:57 -08:00
Amjith Ramanujam
477342c60b
Changelog update to add the multi-query feature.
2015-01-10 16:48:38 -08:00
Amjith Ramanujam
a939a9a491
Update changelog with 0.12.0 items.
2015-01-10 00:51:45 -08:00
Amjith Ramanujam
bd624205d0
Fix version number in changelog.
2015-01-09 21:17:29 -08:00
Amjith Ramanujam
22721923a6
Add a changelog.
2015-01-09 17:32:32 -08:00