EXEC SQL type RDBBLOB is bytea; ecpg ERROR: invalid datatype 'bytea'

Started by Reid Thompsonover 23 years ago1 messagesgeneral
Jump to latest
#1Reid Thompson
Reid.Thompson@ateb.com

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