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

           Summary: Duplicated indexes (Postgres)
           Product: MediaWiki
           Version: 1.15-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: postgresql
          Severity: enhancement
          Priority: Normal
         Component: Database
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: overlo...@gmail.com
            Blocks: 384


Dont know why I never noticed it before, but between tables.sql and
updaters.inc they both specify an index with the same values but each calls it
a different thing:

tables.sql:
CREATE INDEX rc_timestamp_bot   ON recentchanges (rc_timestamp) WHERE rc_bot =
0;

updaters.inc:
 array("recentchanges", "rc_timestamp_nobot", "(rc_timestamp) WHERE rc_bot =
0"),

So either/or should probably be changed to reflect the same name.


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