Last modified: 2010-05-15 15:33:38 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 393 - Special:Log fails on PostgreSQL
Special:Log fails on PostgreSQL
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2004-09-06 09:20 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: ---


Description Brion Vibber 2004-09-06 09:20:43 UTC
Seems to be a problem with the join.

Warning: pg_query() []: Query failed: ERROR: column "log_namespace" does not exist in /var/www/html/gres/
includes/DatabasePostgreSQL.php on line 96
A database error has occurred Query: SELECT log_type, log_action, log_timestamp, log_user, user_name, log_namespace, 
log_title, cur_id, log_comment FROM logging, "user" LEFT OUTER JOIN cur ON log_namespace=cur_namespace AND 
log_title=cur_title WHERE user_id=log_user ORDER BY log_timestamp DESC LIMIT 50 OFFSET 0 Function: Error: 1 ERROR: column 
"log_namespace" does not exist


    * DatabasePostgreSQL.php line 366 calls wfDebugDieBacktrace()
    * Database.php line 297 calls DatabasePostgreSQL::reportQueryError()
    * SpecialLog.php line 166 calls DatabasePostgreSQL::query()
    * SpecialLog.php line 235 calls LogReader::getRows()
    * SpecialLog.php line 223 calls LogViewer::showList()
    * SpecialLog.php line 36 calls LogViewer::show()
    * SpecialPage.php line 257 calls wfSpecialLog()
    * SpecialPage.php line 172 calls SpecialPage::execute()
    * index.php line 93 calls SpecialPage::executePath()
Comment 1 Brion Vibber 2004-09-08 23:25:46 UTC
Modified Files:
Log Message:
Re-order tables in FROM to get it working on PostgreSQL.

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