37 Commits

Author SHA1 Message Date
Dan Sosedoff
f48cc5f007
Use go embed to load queries from static files (#607) 2022-12-06 17:41:46 -06:00
Dan Sosedoff
e3d69d3cfa
Fix lint 2022-12-05 21:01:08 -06:00
Dan Sosedoff
450badfbbb
Handle returning values in update/delete queries 2022-12-05 20:56:21 -06:00
Dan Sosedoff
96f82201b5
Fix indexes test 2022-12-03 16:31:07 -06:00
Dan Sosedoff
f19f165afc
Configure logger for connect backend 2022-12-02 11:45:23 -06:00
Dan Sosedoff
9bfec11b48
Fix linting errors 2022-11-14 16:10:50 -06:00
Dan Sosedoff
8428d268b1 Lint 2019-11-02 13:00:23 -05:00
Dan Sosedoff
2a0fd54855 Remove comments from the query before checking for restricted keywords 2019-02-25 11:43:04 -06:00
Dan Sosedoff
5bb6378e94 Switch back readonly mode after test finish 2019-02-20 18:22:44 -06:00
Dan Sosedoff
40eb74529e Reject queries that contain restricted keywords in read-only mode 2019-02-20 18:20:27 -06:00
Dan Sosedoff
65aae5ec95 Add extra test cases for camelCase table names 2019-02-08 14:02:36 -06:00
Dan Sosedoff
7917c2ad35 Simplify TableRowsCount func logic 2018-12-12 13:56:08 -06:00
Dan Sosedoff
903a265676 Fix JSON marshal panic when dealing with NaN values 2018-11-27 16:51:51 -06:00
Allisson Azevedo
974570c79e Add more tests 2018-06-16 11:09:37 -03:00
Allisson Azevedo
5ba53d3cbd Add test_EstimatedTableRowsCount 2018-06-14 17:51:16 -03: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
Dan Sosedoff
b0146a5a76 Update test case to handle the constraint result rows 2018-01-30 22:41:12 -06:00
Dan Sosedoff
5d1cc211b0 Add database export test 2017-09-22 22:06:36 -05:00
Steven Kabbes
2d03aa02e2 test: attempt to fix tests again 2017-08-04 14:16:59 -07:00
Steven Kabbes
8d4d564935 test: fix tests to expect comment column 2017-08-04 14:13:49 -07:00
Dan Sosedoff
1ee02d1451 Add activity query client test 2017-05-09 21:53:24 -05:00
Dan Sosedoff
97b612c1b3 Merge pull request #193 from sosedoff/read-only-mode
Read only mode
2016-11-05 21:29:30 -05:00
Dan Sosedoff
da0916b8c7 Add note about skipped windows tests 2016-11-05 18:53:42 -05:00
Dan Sosedoff
8f90ec4173 Add missing history uniqueness test 2016-11-05 17:52:18 -05:00
Dan Sosedoff
2d2bd1d0b1 Add test to verify readonly mode 2016-11-05 17:51:34 -05:00
Dan Sosedoff
d0d84a62cd Add escaping to order statement 2016-11-03 19:56:55 -05:00
Dan Sosedoff
9bfaae7194 Merge with master 2016-01-17 15:22:33 -06:00
Dan Sosedoff
9766bb2ed2 Add ability to run tests on postgresql 9.1-9.5 2016-01-15 12:33:30 -06:00
Dan Sosedoff
f0f447857f Tunnel implementation, allow using ssh on connection screen 2016-01-14 19:50:01 -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
9b5764d4fb Do not record duplicate queries into history 2016-01-07 20:55:23 -06:00
Brian Low
eeb0fdf3a4 Show table constraints 2015-12-04 17:15:03 -07:00
niiyz
4688e62b90 Add Sequences to API Test. 2015-11-13 21:36:51 +09:00
Dan Sosedoff
785108002e Support both postgresql:// and posgres:// url prefix 2015-07-14 22:42:46 -05: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