Last modified: 2010-05-15 15:33:38 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 T2393, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 393 - Special:Log fails on PostgreSQL
Special:Log fails on PostgreSQL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (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-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: ---


Attachments

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

Warning: pg_query() [function.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

Backtrace:

    * 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:
	SpecialLog.php 
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.


Navigation
Links