[Tickets #9153] Re: BYTEA DB escaping for postgres driver

bugs at horde.org bugs at horde.org
Tue Jan 25 09:41:57 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9153
------------------------------------------------------------------------------
  Ticket             | 9153
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | BYTEA DB escaping for postgres driver
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 3. High
  Milestone          | 4.0
  Patch              |
  Owners             | Horde Developers, Chuck Hagenbuch
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-01-25 04:41) wrote:

Not good - the big issue preventing implementation is that quote()  
does not pass the current column to the Postgres driver - thus, the  
postgres driver never does the necessary quoting for binary data.

Not sure if I am following the code completely, but quote() seems to  
be written (at least as called from most locations) with the  
assumption that quoting is independent of the column type.  This is  
wrong.  Not sure how this needs to be fixed properly.






More information about the bugs mailing list