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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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