mirror of
https://github.com/turbot/steampipe.git
synced 2026-03-26 17:00:10 -04:00
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
This commit is contained in:
@@ -3,7 +3,6 @@ package query
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/viper"
|
||||
"github.com/turbot/steampipe/pkg/constants"
|
||||
"github.com/turbot/steampipe/pkg/export"
|
||||
@@ -109,9 +108,6 @@ func (i *InitData) init(parentCtx context.Context, args []string) {
|
||||
i.Result.AddWarnings(errAndWarnings.Warnings...)
|
||||
i.Workspace = w
|
||||
|
||||
// set max DB connections to 1
|
||||
viper.Set(constants.ArgMaxParallel, 1)
|
||||
|
||||
statushooks.SetStatus(ctx, "Resolving arguments")
|
||||
|
||||
// convert the query or sql file arg into an array of executable queries - check names queries in the current workspace
|
||||
|
||||
Reference in New Issue
Block a user