[Pkg-dspam-misc] Bug#731093: Bug#731093: (no subject)
Thomas Preud'homme
robotux at debian.org
Fri Dec 13 08:57:06 UTC 2013
Le dimanche 8 décembre 2013, 00:01:05 Thomas Preud'homme a écrit :
> So from what Adrien showed me, it seems with -11 there is an INSERT being
> done with: E'\\x...' while with -12 it becomes: E'\x...'.
>
> So there seems to be some escaping issue. I'll be busy tomorrow but I'll
> look into it monday and I hope this is enough clue for me to find out
> what's the problem here.
Sorry, I got distracted by another project of mine and real life issue.
So I'm not sure about why there is only a single backslash for bytea values as
string litteral but two backslashes are clearly necessary. Indeed, the two
backslashes are first interpreted by the string litteral parser which leads to
a single escape in the result, something of the form '\x...'. Then this is
parsed by the bytea input which transform it into a sequence of bytes.
Adrien, are you familiar with gdb? If yes, would you mind helping me debug
this issue? We could set up a meeting on IRC which would be the most
convenient way to do it or do it over email (that would be a bit slower but
allow for more asynchronism between us).
Best regards,
Thomas
More information about the Pkg-dspam-misc
mailing list