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 T2391, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 391 - Can't save pages with category links on PostgreSQL
Can't save pages with category links on PostgreSQL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.4.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2004-09-06 08:41 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-06 08:41:43 UTC
When saving a page with a Category: link on a PostgreSQL-powered wiki, the save fails trying to touch the category page for 
cache purging:

Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for type timestamp: "20040906083948" in /
var/www/html/gres/includes/DatabasePostgreSQL.php on line 96
A database error has occurred Query: UPDATE cur SET cur_touched='20040906083948' WHERE cur_namespace='14' AND 
cur_title='Cats' Function: Title::invalidateCache Error: 1 ERROR: invalid input syntax for type timestamp: "20040906083948"

Backtrace:

    * DatabasePostgreSQL.php line 366 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 652 calls DatabasePostgreSQL::updateArray()
    * LinksUpdate.php line 154 calls Title::invalidateCache()
    * index.php line 195 calls LinksUpdate::doUpdate()
Comment 1 Domas Mituzas 2004-09-06 08:44:23 UTC
fixed in Title.php:1.108

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


Navigation
Links