yiisoft/yii — pull request #1182 by karmakaze (2012-08-09 17:26:32+00:00)
Title: Fixes #1181: Can read but not save binary data (e.g. BYTEA)

Patch posted in description of bug #1181 in the form of a easy-to-apply, one-liner pull request.