Last modified: 2010-05-15 15:33:48 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 T2409, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 409 - Page move over redirect fails on PostgreSQL
Page move over redirect fails on PostgreSQL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2004-09-07 07:56 UTC by Brion Vibber
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Attachments

Description Brion Vibber 2004-09-07 07:56:41 UTC
While renaming a page to a new title works now, moving over a redirect still fails. Looks like the usual timestamp bug:

Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for type timestamp: "20040907075459" in /
var/www/html/gres/includes/DatabasePostgreSQL.php on line 96
A database error has occurred Query: UPDATE cur SET cur_touched='20040907075459',cur_namespace='0',cur_title='?efpa?o' 
WHERE cur_id='8' Function: Title::moveOverExistingRedirect Error: 1 ERROR: invalid input syntax for type timestamp: 
"20040907075459"

Backtrace:

DatabasePostgreSQL.php line 370 calls wfDebugDieBacktrace()

Database.php line 297 calls DatabasePostgreSQL::reportQueryError()

Database.php line 777 calls DatabasePostgreSQL::query()

Database.php line 767 calls DatabasePostgreSQL::update()

Title.php line 979 calls DatabasePostgreSQL::updateArray()

Title.php line 923 calls Title::moveOverExistingRedirect()

SpecialMovepage.php line 132 calls Title::moveTo()

SpecialMovepage.php line 33 calls MovePageForm::doSubmit()

SpecialPage.php line 257 calls wfSpecialMovepage()

SpecialPage.php line 172 calls UnlistedSpecialPage::execute()

index.php line 93 calls SpecialPage::executePath()

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


Navigation
Links