Fix PostgreSQL updater to produce 1.19 schema
authorsaper <saper@saper.info>
Thu, 22 Mar 2012 02:42:44 +0000 (03:42 +0100)
committerChad Horohoe <chadh@wikimedia.org>
Tue, 10 Apr 2012 16:59:21 +0000 (12:59 -0400)
commitf752cf80423615b380cf5612a3f1f68a6b9d0173
treec101abf672f6ff9a68278ed2771e9b44cf9008e9
parentf0ecaf0af1a6642e3ac50c7e0c01e488b64bebe8
Fix PostgreSQL updater to produce 1.19 schema

* PostgresField now reports column default value
* DatabasePostgres::indexAttributes reports index
  details
* Perform schema update in one transaction

With this change we can sucessfully update
MediaWiki 1.7.3 schema to trunk^Wmaster

Patch set 2: Rebased against master. PLEASE check carefully
to make sure I got those conflicted files right.

Conflicts:

includes/db/DatabasePostgres.php
includes/installer/PostgresUpdater.php

Change-Id: Iebb6855e8f6f44470bbb1dc5ab9ac1abb513adfe
12 files changed:
includes/db/DatabasePostgres.php
includes/installer/DatabaseUpdater.php
includes/installer/PostgresInstaller.php
includes/installer/PostgresUpdater.php
maintenance/postgres/archives/patch-add_interwiki.sql [new file with mode: 0644]
maintenance/postgres/archives/patch-category.sql
maintenance/postgres/archives/patch-external_user.sql [new file with mode: 0644]
maintenance/postgres/archives/patch-ipb_address_unique.sql
maintenance/postgres/archives/patch-log_search.sql
maintenance/postgres/archives/patch-module_deps.sql
maintenance/postgres/archives/patch-msg_resource.sql
maintenance/postgres/archives/patch-msg_resource_links.sql