kaidaguerre
e45a47d40e
Include nested struct values in introspection tables. Closes #2903
2022-12-21 17:45:31 +00:00
Binaek Sarkar
10bd95e687
Fixes issue where implicit services are not shutting down when the last instance of steampipe exits. Closes #2833
2022-12-12 17:09:58 +00:00
kaidaguerre
dbd1d10fcc
Add support for plugin sdk v5, with plugin message stream - support update of dynamic plugin schema based on file events. Closes #2767
2022-11-30 10:50:46 +00:00
Binaek Sarkar
056fa56241
Fixes issue where interactive prompt was not showing timing data for 'json', 'csv' and 'line' outputs. Closes #2699
2022-11-29 10:57:37 +00:00
Binaek Sarkar
d2f8541385
Update the update checker to run asynchronously. Closes #2770
2022-11-25 11:26:50 +00:00
Binaek Sarkar
18a1c51597
Upgrades 'pgx' to v5. Closes #2776
2022-11-23 17:34:21 +00:00
kaidaguerre
fe6365b1ef
Remove usage of prepared statements - instead excute sql directly. Wrap with executions in LeafRuns to support runtime dependency resolution. Closes #2789 . #2772
2022-11-23 14:11:56 +00:00
kaidaguerre
4f90440d26
Add support for with blocks. Closes #2772
2022-11-21 16:25:51 +00:00
kai
f47d55b2bb
Fix steampipe query --timing not outputting timing information if sharing or exporting a snapshot. Closes #2677
2022-11-07 14:05:39 +00:00
kai
7d28c99e27
Fix steampipe dashboard not showing progress when running a single dashboard. Closes #2685
2022-11-07 10:37:34 +00:00
Puskar Basu
7228dedca2
Fix unintuitive errors from steampipe plugin commands when a plugin (version) is missing. Closes #2361
2022-11-03 11:09:45 +00:00
kaidaguerre
59d224711c
Fix regression - creating all prepared statements when executing a batch query. When connected to Steampipe cloud, create all prepared statements in a single sql statement to improve performance. Closes #2644 . Closes #2650
2022-11-01 22:25:12 +00:00
Binaek Sarkar
4c490f1ecc
Fixes issue where the CLI would fail to connect to local service if there are credential files in ~/.postgresql . Closes #1417
2022-10-27 17:46:22 +01:00
kaidaguerre
42c2323eb2
Add query_timeout to workspace profile. Closes #2593
...
Improve timeout error message.
Remove refreshDbClient call after timeout.
Set default check query timeout to 240sec and query to 0 (no timeout)
2022-10-26 14:53:50 +01:00
François de Metz
b3838186e1
Add a configurable query timeout. Closes #666
2022-10-26 10:09:17 +01:00
kaidaguerre
0e27f38202
Update workspace profile parsing to load options blocks. Include these options values in viper with correct precedence. Closes #2579
2022-10-24 13:58:50 +01:00
Binaek Sarkar
509a5161ae
Delete backups directory which was committed by mistake
2022-10-19 17:44:22 +05:30
kaidaguerre
1e3db26e8f
Add support for workspace profiles - parse from config and select using --workspace arg. Closes #2510
...
Add support for implicit workspace. Closes #2514
If snapshot-location is a local file path, copy snapshot instead of uploading. Closes #2550
Do not show snapshot upload status if --progress=false. Closes #2517
Replace --workspace with --snapshot-location. Closes #2512
2022-10-19 13:02:24 +01:00
kaidaguerre
028d46c8ff
Revert connection watching min-interval. Remove filewatcher from utils and and use go-kit filewatcher instead.
2022-10-17 22:07:21 +01:00
kaidaguerre
947a113eb3
Reduce the max frequency of connection config changed events to every 4 second. Log refreshConnection output. Closes #2535 ( #2537 )
2022-10-17 13:25:42 +01:00
kaidaguerre
1dc28f4681
Add --source-snapshot option to dashboard command. Closes #2503 . ( #2491 )
2022-10-11 23:36:27 +01:00
Binaek Sarkar
409e4b3b19
Fixes issue where steampipe requests for firewall exceptions during installation. Closes #2478
2022-10-07 15:04:40 +01:00
Mike Burgess
95de81b4b9
Remove erroneous DB backup files
2022-10-05 17:29:28 +01:00
kaidaguerre
404dd35e21
Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 ( #2438 )
...
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
kaidaguerre
e2d12b3fc2
Rationalise postgres configuration. Closes #2471
2022-10-03 14:08:33 +01:00
kaidaguerre
5e0561b8b3
Increase dashboard service startup timeout to 30s. Closes #2434
2022-09-09 13:52:57 +01:00
Puskar Basu
0fc3425b14
Fix initdb failures due to invalid locale. Closes #2368
2022-09-01 16:30:31 +01:00
kaidaguerre
ae9472273d
Only create introspection tables if STEAMPIPE_INTROSPECTION env var is set. Closes #2396
2022-08-31 11:08:05 +01:00
kaidaguerre
ffe0ab40c1
Limit connection lifetime in db connection pool. Closes #2375
...
Limit connection lifetime in db connection pool. Closes #2375
Limit connection lifetime in db connection pool. Closes #2375
Limit connection lifetime in db connection pool. Closes #2375
Limit connection lifetime in db connection pool. Closes #2375
2022-08-25 17:01:49 +01:00
Mike Burgess
48e5192fe5
Add initial directed graph implementation #2249 ( #2358 )
2022-08-23 15:01:59 +01:00
Nathan Wallace
fe4c93476b
Add udt_name to schema query for remote databases closes #2324
2022-08-12 11:52:47 -04:00
kaidaguerre
ca64841eee
Disable FDW update message during plugin update. Closes #2312 #
2022-08-09 17:46:25 +01:00
kaidaguerre
d15ac33b26
Fix pasting a query during cli initialization causing it to be duplicated on the screen. #1980
2022-08-04 22:17:14 +01:00
kaidaguerre
76025788e3
Connection config watching failing to add connection schema when connections are added. Closes #2295
2022-08-04 20:39:18 +01:00
kaidaguerre
305fb9107b
Add support for plugins to handle multiple connections. Closes #2262
2022-07-22 14:53:54 +01:00
kaidaguerre
45a67a4231
Fix crash when inspecting tables - only read scan metadata max id when enabling timing, and ensure we read timing information before the connection is closed. Closes #2243
2022-07-14 12:39:31 +01:00
kaidaguerre
01ccfafe56
Steampipe sometimes hangs in interactive mod if timing is enabled. Closes #2237
2022-07-13 11:04:44 +01:00
kaidaguerre
389bff7199
Fix intermittent "concurrent map access" error when timing is enabled. Closes #2231
2022-07-08 22:15:13 +01:00
kaidaguerre
a5c6114b3b
Fix '.inspect' showing 'USER-DEFINED' for ltree columns. Closes #2156
2022-06-27 16:31:42 +01:00
kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00