Re: libpq, ecpg and the bytea data type

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: libpq, ecpg and the bytea data type
Дата
Msg-id 20050923105232.GA28941@1
обсуждение исходный текст
Ответ на Re: libpq, ecpg and the bytea data type  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-interfaces
On Thu, Sep 15, 2005 at 06:22:22PM -0600, Michael Fuhr wrote:
> In any case, others have reported trouble handling bytea with ECPG;
> see the list archives for previous discussion.  I see a lot of calls
> to strlen() in the ECPG source code, so it might not be designed
> to handle binary data.  You might need to fetch the data in non-binary

Your right, it is not. ECPG at the moment expects data to be ascii and
translates it into the type of the variable. 

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: andy rost
Дата:
Сообщение: descriptor areas to insert
Следующее
От: "hue"
Дата:
Сообщение: Synchronize Postgres with an other database