Re: Image data type equivalent in postgresql

Поиск
Список
Период
Сортировка
От Mike Mascari
Тема Re: Image data type equivalent in postgresql
Дата
Msg-id 3F6A18FB.1020305@mascari.com
обсуждение исходный текст
Ответ на Image data type equivalent in postgresql  (Josué Maldonado <josue@lamundial.hn>)
Список pgsql-general
Josué Maldonado wrote:

> Hello list,
>
> That's the question, what is the equivalent data type of the msSQL image
> data type ?

You can use 'bytea' for binary data. You can use 'text' and base64
encode the image before insertion. You can, of course, create your own
 'image' type using CREATE TYPE.  You could also alias the 'bytea'
type via CREATE DOMAIN.

HTH,

Mike Mascari
mascarm@mascari.com



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

Предыдущее
От: Mike Mascari
Дата:
Сообщение: Re: PostgreSQL versus MySQL
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Scalability (both vertical and horizontal)?