[HACKERS] BYTEA with ecpg

2002-09-03 Thread Mike Sacauskis

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

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Re: [HACKERS] BYTEA with ecpg

2002-09-03 Thread Michael Meskes

On Tue, Aug 27, 2002 at 05:59:36AM +, 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
[EMAIL PROTECTED]
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org