Re: Equivalent of mysql type mediablob in postgres?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Equivalent of mysql type mediablob in postgres?
Дата
Msg-id hj2f6m$jbu$1@ger.gmane.org
обсуждение исходный текст
Ответ на Equivalent of mysql type mediablob in postgres?  (Chris Barnes <compuguruchrisbarnes@hotmail.com>)
Список pgsql-general
Chris Barnes wrote on 18.01.2010 21:05:
>
>
> I would like to move a table that is used to store images from mysql to
> postgres. The only stumbling I may encounter, may be switching from
> mysql blob to something in postgres.
>
> We store chart images in a mysql medium blob type.
>
> How can I store these in postgres?

bytea is the datatype you are looking for

http://www.postgresql.org/docs/current/static/datatype-binary.html

Thomas

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

Предыдущее
От: Chris Barnes
Дата:
Сообщение: Equivalent of mysql type mediablob in postgres?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Updating from a column