yesodweb/persistent — Issue #52: Binary double-escape issue
Author: snoyberg
Created: 2012-02-02 09:00:06+00:00
State: open

Originally reported by @jgreene in yesodweb/yesod#243 . Not sure if it needs to be solved in Persistent or @lpsmith's postgresql packages.

Apparently forcing the value of bytea_output via a line like the following fixes the issue:

ALTER ROLE "HerokuIssues" SET bytea_output TO 'escape';