Re: Does Postgres support BLOB datatypes?

Поиск
Список
Период
Сортировка
От Dominic J. Eidson
Тема Re: Does Postgres support BLOB datatypes?
Дата
Msg-id Pine.LNX.4.33.0201081420001.23879-100000@morannon.the-infinite.org
обсуждение исходный текст
Ответ на Does Postgres support BLOB datatypes?  ("Peter E. Chen" <pchen3@jhmi.edu>)
Список pgsql-general
On Tue, 8 Jan 2002, Peter E. Chen wrote:

> I just migrated a MySQL database to Postgres.  I used the mysql2pgsql
> application to convert my MySQL data into Postgres-friendly data.  The BLOB
> data I had in the MySQL database converted into the text datatype for
> postgres.  I'd like to know if Postgres supports BLOBs and if not, what
> datatype should I use in place of BLOBs?

If it's a BLOB of text, the use text.

If it's binary data, you can either use bytea - or PG's LO (Large Object)
interface...


--
Dominic J. Eidson
                                        "Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/              http://www.the-infinite.org/~dominic/


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Does Postgres support BLOB datatypes?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: plpgsql