[Mediawiki-l] PostgreSQL Schema bug for table image and oldimage tables (bytea::text cast)

Brian A. Seklecki bseklecki at collaborativefusion.com
Tue Mar 11 14:58:09 UTC 2008


Where is subversion of the postgresql database schema?  There's an error
between image and oldimage. Inserts into oldimage are based on nested
selects()'s from image -- the casting text::bytea doesn't work.

CREATE TABLE image (

  [...snip...]
  img_metadata     TEXT,

);


CREATE TABLE oldimage (
  [...snip...]
  oi_metadata      BYTEA        NOT NULL DEFAULT '',

);

It looks like the Ubuntu flunkies already picked it up:


http://patches.ubuntu.com/by-release/debian/m/mediawiki/mediawiki_1:1.11.1-1.patch

-- 
Brian A. Seklecki <bseklecki at collaborativefusion.com>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.





More information about the MediaWiki-l mailing list