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

           Summary: Update.php is broken when Postgres DB is < 8.2
           Product: MediaWiki
           Version: 1.13.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Database
        AssignedTo: [email protected]
        ReportedBy: [email protected]


update.php fails when updating from 1.12.3 to 1.13.3 in
the following script:

maintenance/postgres/archives/patch-ipb_address_unique.sql

It only have:

DROP INDEX IF EXISTS ipb_address;
CREATE UNIQUE INDEX ipb_address_unique ON ipblocks
(ipb_address,ipb_user,ipb_auto,ipb_anon_only);


However, 'IF EXISTS' was introduced in Postgresql 8.2.


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to