Last modified: 2012-08-04 20:48:57 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 15815 - PostgreSQL:Forgotten to ALTER type of oi_metadata to bytea in
PostgreSQL:Forgotten to ALTER type of oi_metadata to bytea in
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2008-10-03 09:47 UTC by hansm
Modified: 2012-08-04 20:48 UTC (History)
1 user (show)

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


Description hansm 2008-10-03 09:47:04 UTC
You seem to have forgotten to ALTER the type of oi_metadata to BYTEA in

By the way: In maintenance/postgres/tables.sql, there is an inconsistency between the definitions of tables "image" and "oldimage". oi_bits, oi_timestamp, oi_major_mime and oi_minor_mime are defined as NOT NULL while the corresponding fields in table "image" have no NOT NULL restriction. This might cause troubles when copying rows from image to oldimage.
Comment 1 Greg Sabino Mullane 2008-10-10 18:09:32 UTC
Thanks, fixed the oi_metadata in r41942. Will keep this bug open until I can look at the other image/oldimage problems in more detail.
Comment 2 Greg Sabino Mullane 2009-03-12 14:47:01 UTC
Thanks, just made oldimage match image in r48354. Will work on getting that into as well.

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