[HACKERS] ECPG and bytea

2003-06-26 Thread Lee Kindness
Guys, surely some one's done this before? I've tried using PQescapeBytea too, but still get (slightly) different output. If I try and insert \x02\x01\x02\x03\x04hello\x05\x64\x99\x45 I get (int values of chars printed): INSERT: 2 1 2 3 4 104 101 108 108 111 5 100 -103 69 SELECT: 2 1

Re: [HACKERS] ECPG and bytea

2003-06-26 Thread Joe Conway
Lee Kindness wrote: Guys, surely some one's done this before? I've tried using PQescapeBytea too, but still get (slightly) different output. If I try and insert \x02\x01\x02\x03\x04hello\x05\x64\x99\x45 I get (int values of chars printed): INSERT: 2 1 2 3 4 104 101 108 108 111 5 100 -103