https://bugzilla.wikimedia.org/show_bug.cgi?id=26612

           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
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: innocentkil...@gmail.com
                CC: g...@turnstep.com, overlo...@gmail.com,
                    m...@everybody.org
            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
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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to