Last modified: 2010-05-15 15:42: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 8471 - Couldn't delete uploaded files - PostgreSQL GET_LOCK
Couldn't delete uploaded files - PostgreSQL GET_LOCK
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
PC Linux
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-01-03 17:07 UTC by Evgueni
Modified: 2010-05-15 15:42 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Evgueni 2007-01-03 17:07:48 UTC
Couldn't delete uploaded  files. Switched on  
$wgShowExceptionDetails for details:


A database error has occurred Query: SELECT
GET_LOCK('MediaWiki.wikidb.FileStore', 5) AS lockstatus Function:
FileStore::lock Error: 1 ERROR: function get_lock("unknown", integer) does not
exist at character 30 HINT: No function matches the given name and argument
types. You may need to add explicit type casts.


#0 /home/baldin/public_html/mediawiki/includes/Database.php(651):
DatabasePostgres->reportQueryError('ERROR: functio...', 1, 'SELECT GET_LOCK...',
'FileStore::lock', false)
#1 /home/baldin/public_html/mediawiki/includes/FileStore.php(41):
Database->query('SELECT GET_LOCK...', 'FileStore::lock')
#2 /home/baldin/public_html/mediawiki/includes/Image.php(1828): FileStore::lock()
#3 /home/baldin/public_html/mediawiki/includes/ImagePage.php(556):
#4 /home/baldin/public_html/mediawiki/includes/ImagePage.php(511):
#5 /home/baldin/public_html/mediawiki/includes/Wiki.php(352): ImagePage->delete()
#6 /home/baldin/public_html/mediawiki/includes/Wiki.php(50):
MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title),
Object(User), Object(WebRequest))
#7 /home/baldin/public_html/mediawiki/index.php(47):
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
#8 {main}

Comment 1 Rob Church 2007-01-03 17:09:15 UTC
This was fixed in trunk.

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