Amjith Ramanujam
835a24252f
Merge pull request #50 from snahor/patch-1
...
Fix #45
2015-01-06 22:29:40 -08:00
Amjith Ramanujam
3f78ce7d64
Merge pull request #49 from Walms/master
...
ISSUE #32 More graceful error management
2015-01-06 22:28:34 -08:00
Hans Roman
29a1451210
Fix #45
...
Check PEP 352. To put it simple, from 2.6 the message attribute is deprecated and removed in 3.x.
2015-01-07 00:51:09 -05:00
Amjith Ramanujam
e4e9828640
Merge pull request #40 from macobo/master
...
Fix UnicodeDecodeError in python2
2015-01-06 21:21:41 -08:00
dwalmsley
0238697de6
ISSUE #32 More graceful error management
...
Catching specific errors from psycopg2 and using
the pgerror prop instead of message to avoid app
crashing.
2015-01-07 17:50:48 +13:00
Karl-Aksel Puulmann
f3f8c92d75
Show proper information about exceptions in logs and when running pgcli.
2015-01-07 00:58:28 +02:00
Darik Gamble
c9b277c01c
Replace placeholder environmental variable names with standard postgres PGHOST, PGPORT, PGDATABASE, PGUSER
2015-01-06 15:06:27 -05:00
Sven-Hendrik Haase
996c29277e
Add entry point
...
I'm a distro packager and the generated /usr/bin/pgcli doesn't work for me and I need more control. I need my own entry point so I can execute the module using python -m pgcli.main.
2015-01-06 20:49:29 +01:00
Amjith Ramanujam
976ee2f014
Add logging to pgexecute.py.
2015-01-04 16:29:15 -08:00
Amjith Ramanujam
bca8e2ef4a
Add logging and cleanup main.
2015-01-04 14:52:04 -08:00
Amjith Ramanujam
005af09fe0
Add basic tools for logging.
2015-01-04 00:31:17 -08:00
Iryna Cherniavska
f2ecb2ed67
Fix for bug #12 : Config reading is failing when an option is missing.
2014-12-30 15:36:11 -08:00
Iryna Cherniavska
96b6441bd8
Set multi-line via config file.
2014-12-29 14:15:23 -08:00
Amjith Ramanujam
389777e89c
Add a doc string to --password option.
2014-12-24 15:13:42 -08:00
Amjith Ramanujam
88bdecafb2
Make the password prompt an option.
2014-12-24 15:11:47 -08:00
Amjith Ramanujam
d136180ff4
Set a sane default for the pager.
2014-12-19 23:14:14 -08:00
Amjith Ramanujam
c66f9a79e1
Add pager support for output.
2014-12-19 20:57:36 -08:00
Amjith Ramanujam
6a9efde3e6
Increase the height for completion menu.
2014-12-18 11:06:47 -08:00
Amjith Ramanujam
443cd0e0b7
Column names are stored under each table. Completion for columns is totally broken.
2014-12-18 00:04:42 -08:00
Amjith Ramanujam
312770e10e
F3 to toggle multi-line.
2014-12-15 22:04:03 -08:00
Amjith Ramanujam
881555cf25
Fix the bug when just pressing enter without any text.
2014-12-13 13:44:46 -08:00
Amjith Ramanujam
36cd848cad
Add :q to quit.
2014-12-12 20:29:24 -08:00
Amjith Ramanujam
f8f7d4847d
Separate case sensitive and insensitive commands.
2014-12-12 07:10:55 -08:00
Amjith Ramanujam
620bf26837
Add a method to get the list of databases.
2014-12-11 17:13:01 -08:00
Amjith Ramanujam
08acd2d101
Adjust help and fix \dt failure.
2014-12-11 13:59:21 -08:00
Amjith Ramanujam
1f3252575e
Add help strings to click options.
2014-12-11 10:10:26 -08:00
Amjith Ramanujam
764b5d5a8f
Add a toolbar and keybinding F2 for smart completion.
2014-12-11 00:26:32 -08:00
Amjith Ramanujam
393fb49c92
Return list of tuples for \d special command.
2014-12-08 22:59:25 -08:00
Amjith Ramanujam
60cbbdcb28
Autorefresh for \c, update readme with thanks.
2014-12-08 00:43:21 -08:00
Amjith Ramanujam
eab0011f31
Implement change database for \c and use.
2014-12-07 22:30:24 -08:00
Amjith Ramanujam
091d7f97f7
Add Exit and Quit commands.
2014-12-05 22:04:39 -08:00
Amjith Ramanujam
6633ca882d
Add completion auto-refresh for create and alter statement.
2014-12-05 08:56:59 -08:00
Amjith Ramanujam
a819725a20
Add multi-line support.
2014-12-01 21:55:13 -08:00
Amjith Ramanujam
e20c6b487e
Fix special command completion
2014-11-28 22:13:51 -08:00
Amjith Ramanujam
c8b803b20c
Deal with statements that don't return rows.
2014-11-28 20:50:03 -08:00
Amjith Ramanujam
20e270b66a
Fix the table format to be more psql compliant.
2014-11-28 13:16:34 -08:00
Amjith Ramanujam
6a6cb8f245
Fix the config reader bug.
2014-11-27 22:06:31 -08:00
Amjith Ramanujam
6e5cd51643
Add config file.
2014-11-27 15:02:54 -08:00
Amjith Ramanujam
34bdecea61
Move pgcli into a directory and make a package.
2014-11-26 00:02:34 -08:00