Last modified: 2010-05-15 15:33:48 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 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