Last modified: 2012-08-04 20:48:57 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 T17815, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15815 - PostgreSQL:Forgotten to ALTER type of oi_metadata to bytea in updaters.inc
PostgreSQL:Forgotten to ALTER type of oi_metadata to bytea in updaters.inc
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.14.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.wikivoyage.org/de/Benutzer...
: 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: ---


Attachments

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

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 updaters.inc as well.

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


Navigation
Links