BYTEA with ecpg

Started by Mike Sacauskisover 23 years ago2 messages
#1Mike Sacauskis
mikejsNOSPAM@mbay.net

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

#2Michael Meskes
meskes@postgresql.org
In reply to: Mike Sacauskis (#1)
Re: BYTEA with ecpg

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!