Page MenuHomePhabricator

Installer support for PostgreSQL
Closed, ResolvedPublic


Current MediaWiki must be manually configured for PostgreSQL.

  • tweak PostgreSQL configuration itself :P
  • create database
  • load in pg_tables.sql
  • do lots of GRANTs on all the tables/schemas and sequences

The LocalSettings.php needs some particular love:
$wgDBtype = 'PostgreSQL';
$wgPutIPinRC = true;
$wgDisableSearchUpdate = true;

The installer needs an option for pg setup, and the updaters need PG versions from here out.

Version: 1.7.x
Severity: normal



Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:48 PM
bzimport set Reference to bz385.

robchur wrote:

Nevertheless, users of PostgreSQL ought to be able to use the standard installer

  • Bug 1709 has been marked as a duplicate of this bug. ***

Created attachment 1516
Postgres support for installer and many other sections

Should allow a PG install to take place, when combined with the patch from bug

  1. Also fixes some other pieces of code to allow PG to work once installed.

attachment pgsupport.patch.gz ignored as obsolete

Created attachment 1517
Support for Postgre install and use

Latest and greatest, run against svn 13596. Includes schema as well, and thus
deprecates the other bug.


  • Bug 1295 has been marked as a duplicate of this bug. ***
Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.