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

[BUG] Postgres DB not available in onboarding menu #207

Open
lockmeister opened this issue May 16, 2024 · 2 comments
Open

[BUG] Postgres DB not available in onboarding menu #207

lockmeister opened this issue May 16, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@lockmeister
Copy link

lockmeister commented May 16, 2024

Current Behavior:

  • installed quary VSCode extension
  • have existing postgres environment variables set, psql can connect
  • when "Quary: Initialise project" is run, postgres is not available as a choice

Expected Behavior:

Postgres to be available as a dropdown option.

Steps To Reproduce:

Environment:

@louisjoecodes
Copy link
Contributor

Thanks for flagging! A workaround for now is to define the quary.yaml file manually and use the Quary: Import Sources command.

This Supabase/Postgres guide should get you to the same place for the time being: https://www.quary.dev/docs/quickstart-supabase

@louisjoecodes louisjoecodes added the enhancement New feature or request label May 16, 2024
@louisjoecodes
Copy link
Contributor

To introduce onboarding to databases that call out to the CLI (Postgres, now BigQuery etc.) we will need to introduce a headless mode that allows retrieving the list of projects and tables via the API without relying on a quary.yaml file. This will require some refactoring of the Rust database classes to support this functionality.

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

No branches or pull requests

2 participants