Commit Graph

37 Commits

Author SHA1 Message Date
Dan Sosedoff
77770112bd Detect server type and version with regular expression 2018-06-05 15:35:19 -05:00
Dan Sosedoff
47500bf92e Specs refactor and tweaks
- Make ParseOptions func to take an arg and return struct so we can test it
- Refactor and add more tests for options parsing
- Run test suite on postgres 10.x branch
- Change format for connection idle timer from float64 to in
2018-02-22 14:20:18 -06:00
ldinc
38a3f01868 #282: set flag idle logic to cli-run phase 2017-10-15 01:39:07 +03:00
ldinc
d4dde3fe4f #282 fix disabled state per idle timeout 2017-10-14 03:15:31 +03:00
ldinc
3067b06bf6 #282: added timeout flags & tuned client.IsIdle() 2017-10-14 03:08:04 +03:00
Dan Sosedoff
b1dd4b5308 Add new CLI option to disable SSH connections 2017-09-26 23:56:27 -05:00
Dan Sosedoff
62d88121cd Automatically close idle sessions 2017-09-22 22:44:32 -05:00
Dan Sosedoff
73816ff2d7 Add ability to connect with settings from third-party backend 2017-09-19 00:43:21 -05:00
Dan Sosedoff
6ab30ed308 Update the client last usage timestamp 2017-09-14 00:16:40 -05:00
Dan Sosedoff
af7e504e4f Print postgres version on start in a single-session mode 2017-09-13 23:42:44 -05:00
Dan Sosedoff
c592d0063d Set activity queries for different pg versions 2017-05-09 22:51:26 -05:00
Dan Sosedoff
e9787440fb Set server version for the client on start up 2017-05-09 21:53:24 -05:00
Dan Sosedoff
2d2bd1d0b1 Add test to verify readonly mode 2016-11-05 17:51:34 -05:00
Dan Sosedoff
661fed0dbb Set default transaction mode to read only with --readonly flag 2016-11-05 17:43:30 -05:00
Dan Sosedoff
d0d84a62cd Add escaping to order statement 2016-11-03 19:56:55 -05:00
Dan Sosedoff
1f39c2e229 Lint: Fix sql statements naming 2016-09-01 10:05:46 -05:00
Dan Sosedoff
4b4f778360 Return number of affected rows if sql query is update or delete 2016-02-18 22:36:01 -06:00
Dan Sosedoff
bd207a3551 Fix js error when custom sql query returns no results 2016-01-20 09:21:31 -06:00
Dan Sosedoff
9bfaae7194 Merge with master 2016-01-17 15:22:33 -06:00
Dan Sosedoff
4844270f0b Return empty rows collection if query does not have any rows 2016-01-17 15:05:57 -06:00
Dan Sosedoff
3167d96cfc use a different query to fetch materialized view structure 2016-01-17 15:00:33 -06:00
Dan Sosedoff
983f285373 Point db to local tunnel if ssh is enabled 2016-01-14 21:14:45 -06:00
Dan Sosedoff
f0f447857f Tunnel implementation, allow using ssh on connection screen 2016-01-14 19:50:01 -06:00
Dan Sosedoff
68c2b4d084 Initial ssh tunnel implementation 2016-01-13 01:29:14 -06:00
Dan Sosedoff
556e7d445a Remove unused sequences code 2016-01-12 22:05:32 -06:00
Dan Sosedoff
9ffa05affb Initial support for multiple schemas 2016-01-12 21:33:44 -06:00
Dan Sosedoff
f3920afe8c Only expose sessions data in debug mode, otherwise return just a count of sessions 2016-01-10 15:16:31 -06:00
Dan Sosedoff
38c971ab49 Implement pagination and simple filtering 2016-01-08 14:16:53 -06:00
Dan Sosedoff
61523e33df Add support for offset in table rows endpoint, dry up code 2016-01-07 21:18:22 -06:00
Dan Sosedoff
9b5764d4fb Do not record duplicate queries into history 2016-01-07 20:55:23 -06:00
Dan Sosedoff
3acc6febae Automatically call PrepareBigints for all queries 2016-01-07 11:33:08 -06:00
Dan Sosedoff
91d8d3ee83 Move result struct into its own file 2016-01-04 18:19:16 -06:00
Dan Sosedoff
73a97893e9 Add ability to export table to JSON and XML 2016-01-04 18:03:53 -06:00
Brian Low
eeb0fdf3a4 Show table constraints 2015-12-04 17:15:03 -07:00
niiyz
232790b452 Add Sequences to API. 2015-11-13 21:36:13 +09:00
Dan Sosedoff
50cdf99913 Fix all tests 2015-04-30 12:09:29 -05:00
Dan Sosedoff
c513930e27 Restructure application 2015-04-30 11:47:07 -05:00