I'm aware this regression is a result of the massive refactoring I and others have done for new-installer.
However, I need help from the postgres guys on moving DatabasePostgres::initial_setup() to the new-installer format (using callbacks similar to MysqlInstaller's setupUser). As best I can tell, this function does a few major things (and is called twice):
- Uses the superuser to create the less-privileged user that will access the database (this should copy MySQL's setupUser, although maybe at a different stage)
- Creates the database/schema and assigns the user (PostgresInstaller::setupDatabase() should be updated to include this)
- Sets up ts2 if needed (am I correct in remembering this is old and probably won't be needed much longer?)
- Setup Plpgsql if needed
- A few other minor tweaks (date format, timezone, etc)
These steps should be split out into functions in PostgresInstaller and added as callbacks to the correct stops in the install steps.
I didn't assign this to anyone, but this should be considered a blocker to the 1.17 release. CC'd Postgres guys and Mark H.
Version: 1.17.x
Severity: blocker