Last modified: 2012-08-04 20:48:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15531, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13531 - Install script for PostgreSQL broken
Install script for PostgreSQL broken
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CheckUser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2008-03-27 07:16 UTC by OverlordQ
Modified: 2012-08-04 20:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch to correct sequence (563 bytes, patch)
2008-03-27 07:16 UTC, OverlordQ
Details
Better patch (1.56 KB, patch)
2008-03-27 07:26 UTC, OverlordQ
Details

Description OverlordQ 2008-03-27 07:16:26 UTC
Created attachment 4773 [details]
Patch to correct sequence

When running either maintenances script or the install:
===
...cu_changes already exists.
Warning: pg_query(): Query failed: ERROR:  relation "cu_log_cul_id" does not exist in /home/wiki/includes/DatabasePostgres.php on line 553
...cu_log added
...log file missing, skipping log import.
===

the SQL for creating the table has a typo so it's trying to use an invalid sequence.
Comment 1 OverlordQ 2008-03-27 07:26:22 UTC
Created attachment 4774 [details]
Better patch

Actually, on line 811 in CheckUser_body.php:

===
                $cul_id = $dbw->nextSequenceValue( 'cu_log_cul_id' );
===

So other parts need patched as well
Comment 2 OverlordQ 2008-04-10 03:15:51 UTC
Looks like was fixed in r32495.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links