Last modified: 2013-09-04 11:47:11 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 T33648, the corresponding Phabricator task for complete and up-to-date bug report information.
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