Summary: Regression: Postgres cannot install
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Keywords: postgresql
          Severity: blocker
          Priority: Normal
         Component: Database
            Blocks: 26611

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
* 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.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to