Index: trunk/phase3/maintenance/purgeOldText.inc |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | |
22 | 22 | # Get "active" text records from the revisions table |
23 | 23 | echo( "Searching for active text records in revisions table..." ); |
24 | | - $res = $dbw->query( "SELECT DISTINCTROW rev_text_id FROM $tbl_rev" ); |
| 24 | + $res = $dbw->query( "SELECT DISTINCT rev_text_id FROM $tbl_rev" ); |
25 | 25 | while( $row = $dbw->fetchObject( $res ) ) { |
26 | 26 | $cur[] = $row->rev_text_id; |
27 | 27 | } |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | |
30 | 30 | # Get "active" text records from the archive table |
31 | 31 | echo( "Searching for active text records in archive table..." ); |
32 | | - $res = $dbw->query( "SELECT DISTINCTROW ar_text_id FROM $tbl_arc" ); |
| 32 | + $res = $dbw->query( "SELECT DISTINCT ar_text_id FROM $tbl_arc" ); |
33 | 33 | while( $row = $dbw->fetchObject( $res ) ) { |
34 | 34 | $cur[] = $row->ar_text_id; |
35 | 35 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -184,6 +184,7 @@ |
185 | 185 | * (bug 19112) Preferences now respects $wgUseExternalEditor, $wgExternalDiffEngine |
186 | 186 | * (bug 18173) MediaWiki now fails when unable to determine a client IP |
187 | 187 | * (bug 19170) Special:Version should follow the content language direction |
| 188 | +* (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL |
188 | 189 | |
189 | 190 | == API changes in 1.16 == |
190 | 191 | |