Last modified: 2012-08-04 20:48:49 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
...log file missing, skipping log import.
the SQL for creating the table has a typo so it's trying to use an invalid sequence.
Created attachment 4774 [details]
Actually, on line 811 in CheckUser_body.php:
$cul_id = $dbw->nextSequenceValue( 'cu_log_cul_id' );
So other parts need patched as well
Looks like was fixed in r32495.