6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/5/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10919] Postgresql 9.0 bytea output is hex and should be escape
*
Your Email Address
*
Spam protection
Enter the letters below:
. .._.._..__ .__ |__| | | [ __[__) | |_|__|_[_./[__)
Comment
>> In PostgreSQL 9.xx bytea values have hex as default output, but horde >> expects escape. >> (http://www.postgresql.org/docs/9.0/static/release-9-0.html) > > No. We don't expect anything. PDO handles result parsing. > > We have unit tests that test exactly this and they work fine. > >> With "ALTER DATABASE horde SET bytea_output = 'escape'; " you can >> change the output postgresql uses. > > No. We don't care what the output is - that is for PDO to worry > about. The only thing we care about is how to insert data into the > DB. And as is clearly discussed from that above page: > > The bytea type always accepts both formats on input, regardless of > this setting. > > You are going to have to come up with a failing unit test to prove otherwise.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers