* (bug 11355) Fix false positives in Safe Mode and other config detection
when boolean settings are disabled with 'Off' via php_admin_value/php_value
* (bug 11292) Fixed unserialize errors with Postgres by creating special Blob object.
+* (bug 11363) Make all metadata fields bytea when using Postgres.
=== API changes in 1.12 ===
img_size INTEGER NOT NULL,
img_width INTEGER NOT NULL,
img_height INTEGER NOT NULL,
- img_metadata TEXT,
+ img_metadata BYTEA NOT NULL DEFAULT '',
img_bits SMALLINT,
img_media_type TEXT,
img_major_mime TEXT DEFAULT 'unknown',
fa_size SMALLINT NOT NULL,
fa_width SMALLINT NOT NULL,
fa_height SMALLINT NOT NULL,
- fa_metadata TEXT,
+ fa_metadata BYTEA NOT NULL DEFAULT '',
fa_bits SMALLINT,
fa_media_type TEXT,
fa_major_mime TEXT DEFAULT 'unknown',
# table, column, desired type, USING clause if needed
$typechanges = array(
+ array("filearchive", "fa_metadata", "bytea", "decode(fa_metadata,'escape')"),
+ array("image", "img_metadata", "bytea", "decode(img_metadata,'escape')"),
array("image", "img_size", "int4", ""),
array("image", "img_width", "int4", ""),
array("image", "img_height", "int4", ""),