Re: insertiing an image file (blob) into postres...

Поиск
Список
Период
Сортировка
От Daniel Schuchardt
Тема Re: insertiing an image file (blob) into postres...
Дата
Msg-id ch52m0$1kug$1@news.hub.org
обсуждение исходный текст
Ответ на insertiing an image file (blob) into postres...  (Prabu Subroto <prabu_subroto@yahoo.com>)
Список pgsql-general
Prabu Subroto schrieb:

> kv=# insert into salesreport (salesid, custid,
> emoicon) values('13', '4531',
> lo_import('/localhome/patrixlinux/arsip/proyek/qt/kv/client/images/1.png'));
> ERROR:  column "emoicon" is of type bytea but
> expression is of type oid

try to make a oid type column and repeat this.

CREATE TABLE test(
  ...
  emoicon    oid,
  ...
);

Daniel

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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: PostgreSQL 8.0.0 Beta 2 Uploaded
Следующее
От: Mike Nolan
Дата:
Сообщение: beta2 not finding openssl