Re: BYTEA with ecpg

Lists: pgsql-hackers
From: Mike Sacauskis <mikejsNOSPAM(at)mbay(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: BYTEA with ecpg
Date: 2002-08-27 05:59:36
Message-ID: Xns9276E9E706655mikejsNOSPAMmbaynet@64.164.98.6
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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


From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Mike Sacauskis <mikejsNOSPAM(at)mbay(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: BYTEA with ecpg
Date: 2002-09-03 15:29:45
Message-ID: 20020903152945.GA9346@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!