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

Поиск
Список
Период
Сортировка
От Reid Thompson
Тема EXEC SQL type RDBBLOB is bytea; ecpg ERROR: invalid datatype 'bytea'
Дата
Msg-id 64AE3D5B518E3648ACC823FBCB0B7375ADF043@sr002-2kexc.ateb.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: PostgreSQL on Linux and Solaris comparison
Следующее
От: Jeff Davis
Дата:
Сообщение: postgres/perl problem in 7.3b5