Looking for feedback from @danbst, @thoughtpolice and @ocharles (as they are the currently listed postgresql maintainers) on the possibility of having the postgresql module options become more consistent with mysql module options.
Currently the mysql module has some great options like ensureDatabases and ensureUsers, but postgresql module does not.
I see several modules (like gitea, for example) create a postgresql user and database by adding relatively messy code to the preStart script, which then requires raised privileges. If the postgresql module had ensureDatabases and ensureUsers options like mysql did all this database code could be cleaned up and simplified greatly, and many modules wouldn’t require any privilege escalation at all in preStart. Plus, it is always nice to have different modules which do similar things have consistent options.
Has anyone considered doing this?