Reid Thompson wrote:
should
[...snip...]
result in the following output?
char[0] is [\]
char[1] is [\]
char[2] is [\]
char[3] is [\]
esclen is [5]
buffer2Ptr is [\\\\]
OR should it result in
char[0] is [\]
char[1] is [\]
esclen is [3]
buffer2Ptr is [\\]
It should result in the former:
test=# select '\\\\'::bytea as string, length('\\\\'::bytea) as length;
string | length
--------+--------
\\ | 1
(1 row)
HTH,
Joe
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org