From c815ad86969fd182a7e3f3d0105c6e45c92aa0e4 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 22 Aug 2010 08:32:29 +0000 Subject: [PATCH] Oops, forgot to change this in r71426 --- includes/installer/PostgresUpdater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/PostgresUpdater.php b/includes/installer/PostgresUpdater.php index a12eba799e..04f8053bdd 100644 --- a/includes/installer/PostgresUpdater.php +++ b/includes/installer/PostgresUpdater.php @@ -464,7 +464,7 @@ END; } public function addPgExtIndex( $table, $index, $type ) { - if ( $this->db->indexExists( $table, $ni[1] ) ) { + if ( $this->db->indexExists( $table, $index ) ) { wfOut( "... index \"$index\" on table \"$table\" already exists\n" ); } else { wfOut( "Creating index \"$index\" on table \"$table\"\n" ); -- 2.20.1