RE: [GENERAL] insert BLOB

Поиск
Список
Период
Сортировка
От Nicolas Huillard
Тема RE: [GENERAL] insert BLOB
Дата
Msg-id 01BF1670.E5A07670@toulouse
обсуждение исходный текст
Ответ на [GENERAL] insert BLOB  ("David Lanier" <david@mids.net>)
Список pgsql-general
Ooops...
It seem that someone is wrong...

-----Message d'origine-----
De:    Nikolay Mijaylov [SMTP:nmmm@nmmm.nu]
Date:    jeudi 14 octobre 1999 17:49
À:    pgsql-general; David Lanier
Objet:    Re: [GENERAL] insert BLOB

BLOb is OID

CREATE TABLE images (imagefield oid);

----- Original Message -----
From: David Lanier <david@mids.net>
To: PGSQL-General <pgsql-general@postgreSQL.org>
Sent: 14 Îêòîìâðè 1999 ã. 18:15
Subject: [GENERAL] insert BLOB


> I'm relatively new to Postgres.
>
> I'd like some help setting up a BLOB (binary large object) field to hold
> images, and more importantly, inserting data (images) into it.  We're
using
> version 6.5.1.
>
> I tried this:
>
> CREATE TABLE images (imagefield blob);
>
> but I got an error, stating "Unable to locate type name 'blob' in catalog"
>
> Probably a better way to accomplish the same thing is to store the
graphics
> in the file system, and then simply have a column that contains the
location
> (ie http://www.domain.com/images/image1.gif), but I'd still like to know
how
> to place the image itself directly into the database.
>
> Thanks in advance for whatever help any of you can provide.
>
> David
>
>
> ************


************



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

Предыдущее
От: Nicolas Huillard
Дата:
Сообщение: RE: [GENERAL] Another access control query
Следующее
От: "Nikolay Mijaylov"
Дата:
Сообщение: Re: [GENERAL] insert BLOB