Skip to content

BSim: Add option to delete BSim databases #8178

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

Open
gemesa opened this issue May 20, 2025 · 0 comments · May be fixed by #8179
Open

BSim: Add option to delete BSim databases #8178

gemesa opened this issue May 20, 2025 · 0 comments · May be fixed by #8179
Assignees
Labels
Feature: BSim Status: Triage Information is being gathered

Comments

@gemesa
Copy link
Contributor

gemesa commented May 20, 2025

Is your feature request related to a problem? Please describe.
Currently there is no simple way (e.g. a cmd line option in bsim or bsim_ctl) to delete a BSim database. In case of PostgreSQL we can work around this (see below). Not sure about H2 and Elastic as I dont use them.

Describe the solution you'd like
A generic dropdatabase or similar subcommand added to bsim which can be used to delete databases. The API is there (SQL and Elastic), it just needs to get exposed via a cmd line option.

Describe alternatives you've considered
Workarounds in PostgreSQL:

$ psql -U username -c "DROP DATABASE database_name;"

or

$ dropdb -U username database_name

Additional context
N/A

@gemesa gemesa linked a pull request May 20, 2025 that will close this issue
@ryanmkurtz ryanmkurtz added Status: Triage Information is being gathered Feature: BSim labels May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: BSim Status: Triage Information is being gathered
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants