Re: Does Postgres support BLOB datatypes? - Mailing list pgsql-general

From Dominic J. Eidson
Subject Re: Does Postgres support BLOB datatypes?
Date
Msg-id Pine.LNX.4.33.0201081420001.23879-100000@morannon.the-infinite.org
Whole thread Raw
In response to Does Postgres support BLOB datatypes?  ("Peter E. Chen" <pchen3@jhmi.edu>)
List 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 by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Does Postgres support BLOB datatypes?
Next
From: Tom Lane
Date:
Subject: Re: plpgsql