Thread: BYTEA with ecpg

BYTEA with ecpg

From
Mike Sacauskis
Date:
How do I do an insert and retreival for bytea field using embedded SQL? 
Anybody have a code example?  I'm trying to port from informix to 
postgresQL.

Thanks

Mike


Re: BYTEA with ecpg

From
Michael Meskes
Date:
On Tue, Aug 27, 2002 at 05:59:36AM +0000, Mike Sacauskis wrote:
> How do I do an insert and retreival for bytea field using embedded SQL? 
> Anybody have a code example?  I'm trying to port from informix to 
> postgresQL.

Actually I never tried. Doesn't it work with using an array of char as C
variable?

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!