EXEC SQL type RDBBLOB is bytea; ecpg ERROR: invalid datatype 'bytea' - Mailing list pgsql-general

From Reid Thompson
Subject EXEC SQL type RDBBLOB is bytea; ecpg ERROR: invalid datatype 'bytea'
Date
Msg-id 64AE3D5B518E3648ACC823FBCB0B7375ADF043@sr002-2kexc.ateb.com
Whole thread Raw
List pgsql-general

Does ecpg not recognize bytea as a datatype?

using ecpg v 2.9, POSTGRESQL v 7.2.3

the line
   
EXEC SQL type RDBBLOB is bytea;

results in the error

ERROR: invalid datatype 'bytea'

I've amended my code to

EXEC SQL type RDBBLOB is struct {
    int        len;
    char       buf[1];
};

to get around the error message.

Reid Thompson      (919)872-1275 ext.4960
ateb, Inc.         www.ateb.com
 

pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: PostgreSQL on Linux and Solaris comparison
Next
From: Jeff Davis
Date:
Subject: postgres/perl problem in 7.3b5