Binaek Sarkar
299697ae2f
Updates in cache configuration to allow disabling of all caching on server. Closes #3258
...
STEAMPIPE_CACHE environment variable resolves to service cache enabled as well as client cache enabled
service cache enabled is used by the plugin manager to enable/disable caching on the plugins during startup (runtime toggle is not allowed) - with a max_ttl
client cache enabled is used to enable/disable the cache on the database connection (fdw)
A TTL can also be set on the client side capped to max_ttl on the server
2023-03-31 15:12:25 +01:00
kaidaguerre
df9c3a253a
Optimize RefreshConnections by cloning schemas where possible. Optimize plugineManager.Get when retrieving multiple connections from same plugin. Closes #3236
2023-03-16 14:43:56 +00:00
kaidaguerre
86246ed927
Only call RefreshConnections on service startup or after a file watching event. Closes #3229
2023-03-15 16:33:23 +00:00
Puskar Basu
8cb5935a36
Add query column in introspection tables to populate FullName if a QueryProvider references a named query. Closes #3161
2023-03-13 15:32:51 +00:00
kaidaguerre
92396d77c0
Remove connection pool min size. Remove need to create empty mod introspection tables if introspection is not enabled. Remove connection pool min size. Closes #3207
...
* Remove all references to prepared statements
* remove sessionInitWaitGroup
2023-03-09 16:55:08 +00:00
kaidaguerre
2171ce66ba
Fix Postgres error "cached plan must not change result type" when dynamic plugin schema changes. Update interactive .inspect and autocomplete based on changes to connection config or dynamic schema updates. Closes #3184 . Closes #3185
2023-03-03 18:45:40 +00:00
kaidaguerre
dd76a500e5
When acquiring a session, if the db schemas have changed, reload SteampipeConfig and re-set required search path. Closes #3137
2023-02-22 14:50:53 +00:00
kaidaguerre
4e13e4e6d1
When a plugin fails to load, remove connections for that plugin from the connection state file. Closes #3124
2023-02-17 18:01:49 +00:00
Binaek Sarkar
d7673ecf08
Adds a mechanism for status updates during initialisation. Closes #3108
2023-02-16 17:09:34 +00:00
Binaek Sarkar
d0ede13d4b
Make database start timeout configurable. Closes #3038
2023-02-14 17:33:57 +00:00
Binaek Sarkar
e88d75a692
Fixes issue where '.inspect' was not working for table names with a '.'. Closes #2455
2023-02-13 15:11:37 +00:00
Binaek Sarkar
9053d7e121
Fixes issue where extra newline was added to interactive prompt before messages were printed. Closes #3027
2023-01-31 15:59:42 +00:00
Binaek Sarkar
5dc46c4e09
Increase database connection timeout and improve the error message if connection failure occurs. Closes #2377
2023-01-18 14:31:26 +00:00
kaidaguerre
b59d86c8a9
Fix introspection table creation for check --where and --tag. Closes #3001
2023-01-17 12:47:41 +00:00
kaidaguerre
e45a47d40e
Include nested struct values in introspection tables. Closes #2903
2022-12-21 17:45:31 +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
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
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
1dc28f4681
Add --source-snapshot option to dashboard command. Closes #2503 . ( #2491 )
2022-10-11 23:36:27 +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
5e0561b8b3
Increase dashboard service startup timeout to 30s. Closes #2434
2022-09-09 13:52:57 +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
Mike Burgess
48e5192fe5
Add initial directed graph implementation #2249 ( #2358 )
2022-08-23 15:01:59 +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