ECPG and bytea - Mailing list pgsql-interfaces

From Lee Kindness
Subject ECPG and bytea
Date
Msg-id 16123.8538.839179.120406@kelvin.csl.co.uk
Whole thread Raw
Responses Re: [HACKERS] ECPG and bytea  (Joe Conway <mail@joeconway.com>)
List pgsql-interfaces
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   2   3   4 104 101 108 108 111   5 100   92  50  51  49  69

hoping someone has a quick answer... if not I'll post a full source
example and look into it more...

Thanks, L.


pgsql-interfaces by date:

Previous
From: Keith Keller
Date:
Subject: Re: Perl
Next
From: Joe Conway
Date:
Subject: Re: [HACKERS] ECPG and bytea