[Tickets #10774] Postgresql bytea escaping
bugs at horde.org
bugs at horde.org
Thu Nov 17 05:24:31 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10774
------------------------------------------------------------------------------
Ticket | 10774
Created By | Michael Slusarz <slusarz at horde.org>
Summary | Postgresql bytea escaping
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2011-11-16 22:24) wrote:
We are currently using the "escape" format. This has the potential to
increase the data size by 5-6 times: \\xxx for one character, with the
additional overhead that the backslashes may themselves need to be
escaped.
Instead use hex escaping, the preferred way, which should only
increase payload size 2 times:
http://www.postgresql.org/docs/9.0/static/datatype-binary.html
More information about the bugs
mailing list