Commit Graph

22 Commits

Author SHA1 Message Date
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
075fafec09 Use single Steampipe Postgres notification channel (#3191) 2023-03-07 17:34:41 +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
763167bef1 Fix workspace load crash for invalid mod definition. Closes #3174 2023-03-01 15:21:34 +00:00
kaidaguerre
718718d053 Rationalise and optimize autocomplete. Closes #3149 2023-02-24 15:31:47 +00:00
Binaek Sarkar
c896d88e88 Make workspace loading async. Closes #3123 2023-02-20 17:18:33 +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
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
Puskar Basu
e4c50a9477 Ensure correct exit code is returned when a mod plugin requirements are not met. Closes #2986 2023-01-18 14:43:44 +00:00
kaidaguerre
fa18c8f0e2 Add support for node reuse. Update graph, flow and hierarchy to declare nodes and edges inline, rather than as a list of references. Closes #2871
Only top level resources can have with and param blocks. Closes #2872
Refactor resource and dashboard run hierarchies to use base impl structs. Closes #2873
2022-12-14 17:18:57 +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
Binaek Sarkar
efea8a72f2 Fixes issue where 'Alt` keyboard combinations would error in WSL. Closes #2549 2022-11-02 15:40:13 +00:00
Meet Rajesh Gor
b0dfee67bb Add auto-completion toggle meta command and terminal option. Closes #2560. Closes #1692 2022-10-27 17:48:45 +01:00
kaidaguerre
2309abb7fd Support executing any query-provider resources using the steampipe query command. Optimize autocomplete. Closes #2558 2022-10-24 10:45:28 +01:00
Binaek Sarkar
754dad90dd Fixes issue where new lines were stripped out in interactive prompt. Closes #2531 2022-10-18 12:47:34 +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
Puskar Basu
8a5d1a97a4 Show timing info even if query returns an error. Closes #2331 2022-09-05 11:32:56 +01:00
kaidaguerre
b7a1969d35 Fix Steampipe terminating if query (or empty line) is entered before initialisation completes. Closes #2300 2022-08-06 17:27:57 +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
a27afd0b7a Fix history storing raw query instead of the saved query when running a named query. Closes #2288 2022-08-04 21:18:41 +01:00
kaidaguerre
0a9b1a1715 Fix interactive multi-line mode. Ensure initialisation errors are correctly reported. Closes #2260 2022-08-02 17:30:54 +01:00
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00