Last modified: 2013-09-04 11:47:11 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 31648 - rebuildrecentchanges.php fails for postgresql
rebuildrecentchanges.php fails for postgresql
Status: RESOLVED DUPLICATE of bug 31007
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.17.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2011-10-12 17:27 UTC by MTecknology
Modified: 2013-09-04 11:47 UTC (History)
1 user (show)

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


Attachments

Description MTecknology 2011-10-12 17:27:26 UTC
root@wiki:/var/www/mediawiki/maintenance# php rebuildall.php


** Rebuilding recentchanges table:
Loading from page and revision tables...
$wgRCMaxAge=7862400 (91 days)
Updating links and size differences...
PHP Warning:  pg_query(): Query failed: ERROR:  invalid input syntax for integer: "NULL"
LINE 1: ...did = '0',rc_new = '1',rc_type = '1',rc_old_len = 'NULL',rc_...
                                                             ^ in /var/www/mediawiki/includes/db/DatabasePostgres.php on line 237
A database query syntax error has occurred.
The last attempted database query was:
"UPDATE  recentchanges SET rc_last_oldid = '0',rc_new = '1',rc_type = '1',rc_old_len = 'NULL',rc_new_len = '4956' WHERE rc_cur_id = '8' AND rc_this_oldid = '7084'"
from within function "RebuildRecentchanges::rebuildRecentChangesTablePass2".
Database returned error "1: ERROR:  invalid input syntax for integer: "NULL"
LINE 1: ...did = '0',rc_new = '1',rc_type = '1',rc_old_len = 'NULL',rc_...
                                                             ^"
root@wiki:/var/www/mediawiki/maintenance#
Comment 1 Brion Vibber 2011-10-13 17:28:04 UTC
Looks like a dupe of bug 31007?
Comment 2 Chad H. 2011-10-13 21:38:33 UTC
Ah looks like it. I missed that one.

*** This bug has been marked as a duplicate of bug 31007 ***

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


Navigation
Links