Last modified: 2010-05-15 15:33:45 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 389 - logging table missing from pg_tables.sql [PostgreSQL]
logging table missing from pg_tables.sql [PostgreSQL]
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.4.x
All All
: Normal blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2004-09-06 08:28 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:28:16 UTC
The new logging table is not created on PostgreSQL, which kills any functions relying on that:

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "logging" 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: relation 
"logging" does not exist

Backtrace:

    * DatabasePostgreSQL.php line 366 calls wfDebugDieBacktrace()
    * Database.php line 295 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 Domas Mituzas 2004-09-06 09:02:26 UTC
fixed by pg_tables.sql:1.3

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


Navigation
Links