[Tickets #10602] Re: Broken Postgresql value encoding

bugs at horde.org bugs at horde.org
Mon Oct 3 22:59:37 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/10602
------------------------------------------------------------------------------
  Ticket             | 10602
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Broken Postgresql value encoding
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-10-03 16:59) wrote:

Without this fix, Postgresql unit tests were failing.  I was receiving  
this issue:

1) Horde_Db_Adapter_Pdo_PgsqlTest::testQuoteBinary
Horde_Db_Exception: SQLSTATE[42601]: Syntax error: 7 ERROR:  syntax  
error at or near "boo"
LINE 1: ..._testings (data) VALUES ('foo\\000bar\\\\ba\\172\'boo\\\\\'b...

This now works on this server:

slusarz at bigworm % psql --version
psql (PostgreSQL) 9.1.1

But I have no idea if this breaks 9.0.





More information about the bugs mailing list