(deps: CommandDeps, db_name: string, options?: CreateDatabaseOptions | undefined): Promise<CommandResult> Create a PostgreSQL database if createdb is available.
Does not throw — returns the underlying command result so callers can
decide how to react to a missing createdb or an "already exists" failure.
deps
command execution capability
db_name
database name to create
stringoptions?
logger
CreateDatabaseOptions | undefinedreturns
Promise<CommandResult> the command result