1
1
mirror of https://github.com/dbcli/pgcli.git synced 2024-10-06 10:17:15 +03:00
Commit Graph

1050 Commits

Author SHA1 Message Date
Fernando Mora
5f4bded599 Issue #448. Add timestamptz to DATE custom extension 2016-02-26 16:21:27 +01:00
Amjith Ramanujam
fabfebb5d6 Merge pull request #465 from summera/readme-config-location
Update config file location in README
2016-02-22 22:04:41 -08:00
Ari Summer
8134aee325 Update config file location in README 2016-02-21 09:54:01 -08:00
Stuart Quin
d4de389374 Merge pull request #463 from dbcli/amjith-patch-1
Explicitly add wcwidth as a dependency.
2016-02-18 18:39:14 +00:00
Amjith Ramanujam
ef40d4f434 Explicitly add wcwidth as a dependency. 2016-02-17 21:41:02 -08:00
Amjith Ramanujam
484108c549 Merge pull request #461 from drocco007/master
Use lexical order to break ties when fuzzy matching
2016-02-15 07:53:30 -08:00
Daniel Rocco
66f9647210 Use lexical order to break ties when fuzzy matching 2016-02-14 23:33:23 -05:00
darikg
18186f6452 Merge pull request #451 from timcleaver/master
Add fallback queries to support older versions of postgresql
2016-02-08 07:46:56 -05:00
Amjith Ramanujam
fea50b59db Merge pull request #457 from dbcli/stuartquin/cast-bc-dates
Issue #448 extension for BC dates
2016-02-03 19:23:22 -08:00
Amjith Ramanujam
becd32cc4b Merge pull request #458 from davidszotten/ensure_config_targetdir
ensure target dir exists when copying config
2016-02-03 19:21:29 -08:00
Timothy Cleaver
95847b58f4 Merge remote-tracking branch 'upstream/master' 2016-02-04 10:04:50 +10:00
Timothy Cleaver
45f414fe2c Use server_version rather than try/except to handle multiple query versions for completions 2016-02-04 09:55:16 +10:00
David Szotten
d4ffbe6104 oh py2.6 how i don't miss you 2016-02-03 22:31:10 +00:00
David Szotten
85181ab252 factor out ensure_dir_exists and use for log 2016-02-03 22:28:04 +00:00
David Szotten
43a13ba065 a few more tests 2016-02-03 20:58:32 +00:00
David Szotten
bea392d7ed ensure target dir exists when copying config 2016-02-03 20:45:36 +00:00
darikg
cd678d9756 Merge pull request #453 from dbcli/amjith/execute_from_file_corner_case
Handle a corner case for execute_from_file.
2016-02-03 09:07:50 -05:00
Stuart Quin
37c10e45c8 Issue #448 extension for BC dates 2016-02-03 10:57:36 +00:00
Amjith Ramanujam
1fc381a843 Merge pull request #452 from fernandomora/default-pager-on-pgclirc
Load default pager and its options on load from config file instead of manipulate environment variable
2016-02-02 22:47:35 -08:00
Amjith Ramanujam
bc21511c5c Merge pull request #456 from davidszotten/test_execute_from_file
test for recent patch for execute_from_file
2016-02-02 18:55:16 -08:00
Stuart Quin
bdb4eecaa9 Merge pull request #454 from dbcli/amjith/null-values-expanded-output
Display null values as <null> in expanded output.
2016-02-02 19:44:20 +00:00
David Szotten
f6c159e805 test for recent patch for execute_from_file
to prevent obvious regressions at least
2016-02-02 18:56:20 +00:00
Fernando Mora
395ae9921b Merge branch 'master' into default-pager-on-pgclirc
* master:
  fix execute_from_file after #395
2016-02-02 17:42:23 +01:00
Fernando Mora
578827e4a1 Pager is selected from config file or else from environment variable 2016-02-02 17:36:28 +01:00
Amjith Ramanujam
7ce5879e40 Display null values as <null> in expanded output. 2016-02-01 22:02:21 -08:00
Amjith Ramanujam
e8cd97dc90 Handle a corner case for execute_from_file. 2016-02-01 21:25:17 -08:00
Amjith Ramanujam
f8ba5c6f54 Merge pull request #449 from davidszotten/fix_execute_from_file
fix execute_from_file after #395
2016-02-01 21:23:58 -08:00
Fernando Mora
417b4fb029 Load default pager and its options on load from config file instead of manipulate environment variable 2016-02-02 03:29:19 +01:00
Timothy Cleaver
463f5e4e10 Add fallback queries so that redshift autocomplete works 2016-02-02 12:15:19 +10:00
David Szotten
02987e27cc fix execute_from_file after #395
fixes #443
2016-01-25 19:10:02 +00:00
Amjith Ramanujam
9d87e8fd6f Merge pull request #442 from jonathanslenders/prompt-toolkit-0.57
Upgrade to prompt-toolkit-0.57
2016-01-18 07:22:05 -08:00
Jonathan Slenders
67d76bf7e8 Upgrade to prompt-toolkit-0.57 2016-01-17 05:52:15 +01:00
Irina Truong
a27fe8f050 Merge pull request #441 from dbcli/amjith/unicode-enum
Add a test case for enum unicode case.
2016-01-13 10:12:44 -08:00
Amjith Ramanujam
c4557a8215 Add a test case for enum unicode case. 2016-01-12 04:55:42 -08:00
Amjith Ramanujam
a6b8436c50 Merge pull request #438 from GTxx/enum_type_unicode
convert enum type to unicode in tabulate. #437
2016-01-12 04:49:53 -08:00
Amjith Ramanujam
18d19fe0b1 Merge pull request #439 from dbcli/j-bennet/fix-tox-humanize
Added humanize to tox to fix tox failure.
2016-01-06 22:12:03 -08:00
Iryna Cherniavska
614039f469 Added humanize to tox to fix tox failure. 2016-01-06 15:50:17 -08:00
Irina Truong
e14e97e4cd Merge pull request #436 from dbcli/amjith/keywords
Add missing keywords.
2016-01-06 14:38:44 -08:00
gtxx
cb65d2ca4a convert enum type to unicode in tabulate. #437 2016-01-06 16:35:00 +08:00
darikg
f74e2f520f Merge pull request #435 from davidszotten/field_names_noparams
don't error when completing parameter-less functions
2016-01-05 19:46:57 -05:00
David Szotten
2b867820d9 don't error when completing parameter-less functions 2016-01-05 16:32:31 +00:00
Amjith Ramanujam
a54830fb65 Merge pull request #429 from dbcli/stuartquin/output-all-notices
Concat and return all available notices
2015-12-06 08:11:30 -08:00
Stuart Quin
169f26c7f2 Remove redundant try..catch 2015-12-06 16:09:39 +00:00
Amjith Ramanujam
0e5b0fa376 Add missing keywords. 2015-12-06 07:21:53 -08:00
Stuart Quin
2f2689813c Concat and return all available notices 2015-12-05 09:23:26 +00:00
Stuart Quin
46ee0e411b Merge pull request #428 from dbcli/amjith/record-unicode-typecaster
Register a unicode typecaster for record type.
2015-12-05 08:21:13 +00:00
Amjith Ramanujam
ddfbd046d0 Register a unicode typecaster for record type. 2015-12-03 07:11:17 -08:00
Amjith Ramanujam
218689dc20 Merge pull request #425 from dbcli/darikg/sort-kw-after-columns
Really sort keywords after everything else
2015-11-28 17:20:58 -08:00
Amjith Ramanujam
afcec9536b Merge pull request #422 from dbcli/j-bennet/humanize-time
Added humanized time display. Connect #396.
2015-11-28 17:16:10 -08:00
Iryna Cherniavska
ac69911c01 Only add humanized display when time > 1 sec. 2015-11-27 14:00:37 -08:00