1
0
Fork 0
Commit Graph

1406 Commits

Author SHA1 Message Date
Irina Truong 4aea9015aa Added coverage support for functional tests. 2017-03-31 16:00:54 -07:00
Irina Truong 5fdcb889bd Fixed failing test. 2017-03-31 16:00:54 -07:00
Irina Truong 8b1b486871 Housekeeping: separated test steps into different files. 2017-03-31 16:00:54 -07:00
Irina Truong fcff05d4db Removed unnecessary 'pgcli installed' test step. 2017-03-31 16:00:54 -07:00
Amjith Ramanujam 1b50f04a89 Merge pull request #678 from owst/configurable_continuation_char
Allow configurable multiline continuation char
2017-03-30 21:19:53 -07:00
Owen Stephens e5d3d5d63f Allow configurable multiline continuation char 2017-03-30 11:12:25 +01:00
Amjith Ramanujam 733a607380 Merge pull request #676 from dbcli/j-bennet/bump-prompt-toolkit-for-fix-edit-bug
Bumped minimal requirement of prompt-toolkit to 1.0.10
2017-03-21 22:23:31 -07:00
Irina Truong 26174637d8 Added fix to changelog. 2017-03-21 21:31:26 -07:00
Irina Truong 71ef3d7524 Bumped minimal requirement of prompt-toolkit to 1.0.10, where reset_current_buffer was deprecated. 2017-03-21 21:26:01 -07:00
Irina Truong 534dbbfce1 Merge pull request #670 from dbcli/j-bennet/fix-edit-bug
Attempt to fix #668 (not pretty).
2017-03-20 09:31:56 -07:00
Irina Truong 1ead2ed62e Added comment. 2017-03-20 09:24:29 -07:00
Amjith Ramanujam 915dd23745 Merge pull request #671 from dbcli/j-bennet/pr-templates
PR and issue templates.
2017-03-19 12:49:32 -07:00
Irina Truong e3df66a9fa Trimmed down issue template. 2017-03-19 12:14:38 -07:00
Irina Truong c3cdc338a7 PR and issue templates. 2017-03-18 14:24:34 -07:00
Irina Truong 7e5ae94dba Attempt to fix #668 (not pretty). 2017-03-15 21:18:21 -07:00
Joakim Koljonen d32049bfde Update changelog.rst 2017-03-14 22:37:39 +01:00
darikg 7b14da9b4c Merge pull request #649 from dbcli/koljonen/suggest_from_all_schemas
Suggest objects from schemas not in search_path
2017-03-14 16:36:36 -04:00
Irina Truong 324abde72a Releasing version 1.5.1 2017-03-14 08:35:02 -07:00
Amjith Ramanujam ffc7f7a64f Merge pull request #666 from dbcli/j-bennet/release-1.5.1
Changelog for bugfix release 1.5.1.
2017-03-13 23:04:02 -07:00
Irina Truong 6a30874e3d Changelog for bugfix release 1.5.1. 2017-03-13 22:52:14 -07:00
Joakim Koljonen 0df6e37dca
Add some comments 2017-03-13 23:18:44 +01:00
Joakim Koljonen cec8aaf16d
Make schema-qualified objects sort after non-schema-qualified 2017-03-13 22:58:31 +01:00
Amjith Ramanujam efe905a2aa Merge pull request #665 from dbcli/j-bennet/bugfix-dsn-set-session-transaction
Fix set_session cannot be used inside a transaction when using dsn.
2017-03-13 11:16:34 -07:00
Irina Truong 6d37b9209d Combine select queries for connection properties. 2017-03-13 11:12:09 -07:00
Irina Truong dcd9cbac4f Fix set_session cannot be used inside a transaction when using dsn. Connect #664. 2017-03-13 11:02:16 -07:00
Amjith Ramanujam 91a3a9da6d Merge pull request #663 from dbcli/j-bennet/changelog-upcoming
Track recent changes in changelog.
2017-03-11 15:31:55 -08:00
Irina Truong f621dce8ad Track recent changes in changelog. 2017-03-11 15:23:48 -08:00
Irina Truong 6592b73657 Merge pull request #659 from kanet77/tk/less-chatty-cmdline-option
Add a command line option for --less-chatty. Fix #626.
2017-03-11 15:13:07 -08:00
Irina Truong 13be7e295b Merge pull request #661 from dbcli/amjith/maintainers
Update AUTHORS
2017-03-11 14:52:53 -08:00
Amjith Ramanujam af0dbd8774 Change the spelling of Irina. 2017-03-11 14:43:15 -08:00
Amjith Ramanujam 5d4d187358 Update AUTHORS 2017-03-11 08:10:55 -08:00
tk 6c2abba18b
Simplify assignment of self.less_chatty. 2017-03-11 02:31:02 -06:00
tk 6a42d4e91e
Add a command line option for --less-chatty. Fix #626. 2017-03-10 02:44:24 -06:00
Amjith Ramanujam 83442f8ebf Merge pull request #655 from dbcli/koljonen/parse_function_body
Parse function bodies
2017-03-08 18:50:59 -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
Joakim Koljonen 4904a982dd Merge pull request #656 from dbcli/amjith/support-unicode-expanded-display
Add support for unicode chars in expanded mode.
2017-03-07 15:02:52 +01:00
Amjith Ramanujam 7f009c630f Add support for unicode chars in expanded mode. 2017-03-06 19:20:34 -08:00
Irina Truong 6e38853c99 Merge pull request #653 from dbcli/koljonen/materialized_view_keywords
Add MATERIALIZED VIEW keywords
2017-03-06 16:57:50 -08:00
Amjith Ramanujam de83ec24f0 Releasing version 1.5.0 2017-03-06 16:36:02 -08:00
Irina Truong 54d08ba9cd Merge pull request #648 from dbcli/amjith/release-1.5.0
Changelog update for 1.5.0
2017-03-06 16:18:21 -08:00
Joakim Koljonen 6b8c62d0ec
Add MATERIALIZED VIEW keywords 2017-03-06 23:16:29 +01:00
Joakim Koljonen bdf2a0e26a
Start suggesting tables/functions/views/types not in search_path
And schema-qualifying them, of course, so that for `SELECT * FROM bar`
we might suggest `buildings.barns` and for `select dopi` we might
suggest `maintenance.delete_old_personal_info()`, for example.

Controlled by a config setting, `search_path_filter`, in case anyone
prefers the old behaviour.
2017-03-05 02:21:31 +01:00
Joakim Koljonen 5514a4b67e
Preparatory restructuring to simplify the next commit
No changes in function.
2017-03-05 00:42:19 +01:00
Amjith Ramanujam 0ab1cade0e Changelog update for 1.5.0 2017-03-03 15:55:39 -08:00
Irina Truong 5b2c3151e0 Merge pull request #645 from dbcli/amjith/add-py36
Add python 3.5 and 3.6 to test suite.
2017-03-03 11:19:33 -08:00
Irina Truong 132f2bd758 Merge pull request #644 from dbcli/amjith/operational-error
Reconnect on OperationalError.
2017-03-03 11:17:51 -08:00
Amjith Ramanujam bdabb6cee3 Reconnect on OperationalError. 2017-03-03 11:05:44 -08:00
Amjith Ramanujam 3cb3b4cd62 Add python 3.5 and 3.6 to test suite. 2017-03-03 11:05:26 -08:00
Irina Truong b273d13755 Merge pull request #647 from dbcli/amjith/fix-psycopg2-bug
Adjust the connection order to work around psycopg2 restriction.
2017-03-03 10:26:24 -08:00
Amjith Ramanujam 01f8f9f771 Adjust the connection order to work around psycopg2 restriction. 2017-03-03 06:04:53 -08:00