Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide convenience sql functions for manipulating cache settings #3442

Closed
binaek opened this issue May 18, 2023 · 0 comments · Fixed by #3446
Closed

Provide convenience sql functions for manipulating cache settings #3442

binaek opened this issue May 18, 2023 · 0 comments · Fixed by #3446
Assignees

Comments

@binaek
Copy link
Contributor

binaek commented May 18, 2023

Right now, the only way to tweak the cache is to INSERT into the steampipe_internal.steampipe_settings table - which is used by the FDW to tweak cache settings.

This is inconvenient.

We should have SQL functions to help with cache manipulation.

It should be set_cache(value)
where value is the same as the .cache meta-command?
set_cache("on")
set_cache("off")
set_cache("clear")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant