Commit Graph

19 Commits

Author SHA1 Message Date
Binaek Sarkar
be36276fd8 Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246 2023-03-23 14:43:06 +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
kai
948d70388f Update executeSqlInTransaction to rollback transaction in case of error
Do not create a new client in pluginManager.OnConnectionsChanged, instead pass a client in.
Do not pass appname to plugin manager command - instead plugin manager adds prefix the pg app name. #3184. #3185
2023-03-08 10:56:29 +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
kai
82b3b7454c Remove TableAggregationSpecs 2023-02-15 12:43:54 +00:00
kai
01d53cfb9e Merge branch 'v0.18.x' into main
# Conflicts:
#	pkg/connectionwatcher/connection_watcher.go
2023-02-01 13:23:56 +00:00
Binaek Sarkar
0a14fd8610 Fixes issue where 'search_path' is not getting set from connection config watching in service mode. Closes #3047 2023-01-31 15:55:46 +00:00
kaidaguerre
34bea3d1ef Add support for aggregator connections with dynamic tables. Closes #2886 2023-01-27 19:47:43 +00:00
kai
294c3e1db0 Update EventMask for connection and workspace file watcher to include Write. #2779 2022-11-30 11:00:57 +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
7a16ec8c57 Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779 2022-11-30 10:12:03 +00:00
kai
7e4ecf3724 Update argument descriptions for --output --export, --snapshot-location
Remove 'check' from dashboard arg descriptions
Do not show "Output format defaulted to 'none'" message if sharing a snapshot
remove query timeout from database options
Fix snapshot creation crash when required inputs are not provided
2022-11-07 10:37:34 +00:00
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
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
kai
8fed20c2ac Fix connection watching only adding first changed connection config to the payload of the UpdateConnectionConfigs call. Closes #2395 2022-08-31 11:08:05 +01:00
kaidaguerre
305fb9107b Add support for plugins to handle multiple connections. Closes #2262 2022-07-22 14:53:54 +01:00
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00