Re: [BUGS] BUG #4866: ECPG and BYTEA

2009-06-23 Thread Richard D Levine
Cc: pgsql-bugs@postgresql.org Date: 06/23/2009 04:09 AM Subject: Re: [BUGS] BUG #4866: ECPG and BYTEA Rick Levine wrote: > ECPG does not handle BYTEA columns properly. When I encode a unsigned char > array using PQescapeByteaConn and send it to the server, it is not stored as > the original byt

Re: [BUGS] BUG #4866: ECPG and BYTEA

2009-06-23 Thread Heikki Linnakangas
Rick Levine wrote: > ECPG does not handle BYTEA columns properly. When I encode a unsigned char > array using PQescapeByteaConn and send it to the server, it is not stored as > the original bytes, but rather is stored as the escaped string (much > larger). Yeah, that's clearly not the right way t