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

Error: Plugin Listing failed - syntax error at or near "-" when db users contain a dash #1094

Closed
johnsmyth opened this issue Nov 9, 2021 · 1 comment · Fixed by #1099
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@johnsmyth
Copy link

Describe the bug
When any database user that is in steamipe_users contains a dash, steampipe fails with an error.

Steampipe version (steampipe -v)
steampipe version 0.9.0

To reproduce

  1. connect to the steampipe db as root
  2. create a user that has a dash in it: create user "user-with-dash"
  3. add the user to steampipe_users: grant steampipe_users to "user-with-dash"
  4. Run steampipe plugin list:
$ steampipe plugin list
Error: Plugin Listing failed - syntax error at or near "user"

Expected behavior
should not fail

Additional context
Add any other context about the problem here.

@johnsmyth johnsmyth added the bug Something isn't working label Nov 9, 2021
@binaek
Copy link
Contributor

binaek commented Nov 9, 2021

@johnsmyth this may be related to #1082

We will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants