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

Switch db in Postgres #126

Open
nikatar opened this issue Oct 26, 2024 · 3 comments
Open

Switch db in Postgres #126

nikatar opened this issue Oct 26, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@nikatar
Copy link

nikatar commented Oct 26, 2024

Hello!

Sorry if this is a stupid question)
But I didn't find an answer to it

So I connect to defaultdb in postgres as the default database. How can I see a list of all databases and switch to the one I need?)

In psql I can do this:

\l
\c <database-name>
@nikatar nikatar added the enhancement New feature or request label Oct 26, 2024
@achristmascarl
Copy link
Owner

hey, good question; at the moment, switching between databases isn't supported, so you'd need to restart rainfrog with the new database you want to connect to, or connect in a new tab/session/screen.

@nikatar
Copy link
Author

nikatar commented Oct 27, 2024

Ok.
I hope this feature will be available in new versions.
I think this is a basic feature to be called a full-fledged tool for working with a database. Because now I need to know in advance which databases are available

@achristmascarl
Copy link
Owner

it's a good idea, i've added it to the roadmap. cant make any promises on the timeline though

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