Skip to content

BSim: Add option to list PostgreSQL BSim databases #8438

@gemesa

Description

@gemesa

Is your feature request related to a problem? Please describe.
Currently there is no simple way (e.g. a cmd line option in bsim_ctl) to list the databases available on the PostgreSQL BSim server.

Describe the solution you'd like
A generic listdatabases or similar subcommand added to bsim_ctl which can be used to list the available databases (either including only the user-created ones or all of them, including the internal databases such as the templates).

Describe alternatives you've considered
A possible workaround is to manually set up the PostgreSQL environment and run psql:

$ psql -l -U username -h localhost -p port

Additional context
N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions