DmitryLitvintsev/dcache — pull request #1 by DmitryLitvintsev (2013-11-07 23:01:45+00:00)
Title: chimera: fix handling of bytea data in path2inode and path2inodes stored...

... procedures

when migrating from 8.4 to 9.2 postgresql it was noticed that assigning of bytea data
to varchar produced unexpected result due to bytea_output='hex' as default in postgresql 9.2
This patch addresses it by calling encode(ifiledata,'escape') before assigning it to
varchar variables

Ticket: #number
Patch: http://rb.dcache.org/r/6196/
Acked-by: Paul Millar, Tigra Mkrtchyan
Target: trunk
Request: 2.2
Request: 2.6
Request: 2.7
Require-book: no
Require-notes: no