1
0
Fork 0
Commit Graph

414 Commits

Author SHA1 Message Date
Darik Gamble ec33aa9d16 add missing extend_schemata method 2015-01-18 19:27:23 -05:00
Darik Gamble 8bba43e1d7 Add missing import 2015-01-18 19:04:24 -05:00
Darik Gamble cc6276925f Get schema names with a direct query instead of stripping them from the tables metadata so we can autocomplete schemata without tables in them 2015-01-18 18:27:25 -05:00
Darik Gamble 78dce17428 Add pandas as a mandatory requirement 2015-01-18 15:53:47 -05:00
Darik Gamble 78288101c2 Make autocomplete schema-aware 2015-01-18 15:53:47 -05:00
Amjith Ramanujam a795c4f200 Confirm before printing a large table. 2015-01-18 00:25:36 -08:00
Amjith Ramanujam a1cad195ec Add the LIMIT keyword. Fix #125 2015-01-17 22:51:21 -08:00
Amjith Ramanujam bf8736a6c0 Consume the sql results as a generator. 2015-01-17 22:48:44 -08:00
Amjith Ramanujam 05865f4b39 Merge pull request #126 from j-bennet/master
ON keyword suggests either table aliases, or table names.
2015-01-17 22:25:06 -08:00
Iryna Cherniavska c4c61b8ce5 ON keyword suggests either table aliases, or table names. 2015-01-17 22:16:53 -08:00
Amjith Ramanujam 151a01865a Add \timing special command. 2015-01-15 23:41:43 -08:00
Amjith Ramanujam 09a970dddb Performance improvement for expanded output. 2015-01-15 22:54:00 -08:00
Amjith Ramanujam ed9ac79d36 Releasing version 0.13.0 2015-01-14 17:13:45 -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 2a7d8aa79c Merge pull request #120 from darikg/iteritems_bugfix
fix bug where show_help command failed in python 3 due to iteritems() de...
2015-01-14 13:46:27 -08:00
darikg ffeb89e406 fix bug where show_help command failed in python 3 due to iteritems() deprecation 2015-01-14 15:19:23 -05:00
Amjith Ramanujam ac93600aae Make user arg optional. 2015-01-14 10:07:45 -08:00
Amjith Ramanujam 8333603b63 Merge pull request #119 from darikg/bugfix
don't try to spilt None - fixes AttributeError: 'NoneType' object has no...
2015-01-14 09:19:01 -08:00
darikg 1e263f1a03 don't try to spilt None - fixes AttributeError: 'NoneType' object has no attribute 'split' on special commands like \? 2015-01-14 07:51:16 -05:00
Amjith Ramanujam 72ab7f6e87 Update readme to mention the dev packages in linux. Fix #118 2015-01-13 22:25:03 -08:00
Amjith Ramanujam 07ed2edc1f Changelog update. 2015-01-13 22:16:41 -08:00
Amjith Ramanujam aba749bbf5 Fix the wrong var name in pgspecial. Fix #66 2015-01-13 22:02:33 -08:00
Amjith Ramanujam 5c56855d6f Add -d option and username as argument. Fix #65 2015-01-13 21:53:53 -08:00
Amjith Ramanujam 15a88ea05d Fix the crash when db change fails. Fix #117 2015-01-13 21:07:37 -08:00
Amjith Ramanujam a77c4a5e4e Releasing version 0.12.0 2015-01-13 00:05:27 -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 9a575d8512 Merge pull request #112 from darikg/ipythonmagic
print sql magic connection alias when using %pgcli magic
2015-01-12 10:33:41 -08:00
Darik Gamble 29ffe3aae7 print sql magic connection alias when using %pgcli magic 2015-01-12 13:02:22 -05:00
Amjith Ramanujam 6018308a72 Merge branch 'emacs_bindings' 2015-01-12 00:46:07 -08:00
Amjith Ramanujam 5ddaf8f653 Use the default buffer instead of current_buffer. 2015-01-12 00:45:12 -08:00
Amjith Ramanujam 7c1c1a9f29 Update changelog. 2015-01-12 00:40:10 -08:00
Amjith Ramanujam afef77a619 Fix the broken auto-complete for quoted names. 2015-01-12 00:36:18 -08:00
Amjith Ramanujam dae5bb7174 Use the KeyBindingManager. 2015-01-11 23:37:32 -08:00
Amjith Ramanujam 7b47919e3d Merge pull request #104 from darikg/ipythonmagic
ipython magic improvements
2015-01-10 18:04:42 -08:00
darikg f93c789532 don't rerun a query in ipython magic if it was mutating 2015-01-10 20:58:54 -05:00
darikg 24443cdca7 keep track of whether queries are mutating 2015-01-10 20:58:53 -05:00
darikg 50c3ba457e let sql-magic handle identifying connections by uri or alias string, and persist pgcli object through multiple cli sessions 2015-01-10 20:58:52 -05:00
Amjith Ramanujam a79991dd53 Update changelog to add username used for database name. 2015-01-10 17:06:57 -08:00
Amjith Ramanujam c9f651ba39 Merge pull request #105 from fpietka/master
allows pgcli to connect to specified user's database
2015-01-10 17:05:50 -08:00
Amjith Ramanujam 39a039fb8e Merge pull request #103 from darikg/logging
fix logging bug: log statements outside pgcli.main not logged to file
2015-01-10 16:59:47 -08:00
Amjith Ramanujam 477342c60b Changelog update to add the multi-query feature. 2015-01-10 16:48:38 -08:00
Amjith Ramanujam b1797001f9 Merge pull request #100 from Eyepea/fix_auto_passwd_prompt
Fix auto passwd prompt
2015-01-10 16:31:34 -08:00
Amjith Ramanujam 28ccf5f06f Add logging to the tables and columns queries. 2015-01-10 16:29:12 -08:00
darikg 89363a15bc fix file logging bug: only log statements from pgcli.main were logged to file. attach file handler to the root pgcli instead of pgcli.main 2015-01-10 19:24:17 -05:00
François Pietka 8d502bf0cc allows pgcli to connect to specified user's database 2015-01-11 01:20:30 +01:00
Amjith Ramanujam 78819664cd Merge pull request #98 from macobo/master
Support having multiple queries on the same line.
2015-01-10 15:00:25 -08:00
Ludovic Gasc (GMLudo) be4ecded30 Remove "'OperationalError' object has no attribute 'message'" error message if you need to provide a password on Python3 2015-01-10 15:21:43 +01:00
Ludovic Gasc (GMLudo) 7e35be0d4f Add .gitignore for IDEA and pyvenv 2015-01-10 15:21:24 +01:00