Re: [SQL] Blobs

From: Mathijs Brands <mathijs(at)ilse(dot)nl>
To: Neil Cameron <n(dot)cameron(at)blueice(dot)co(dot)uk>
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Blobs
Date: 2000-01-24 15:54:39
Message-ID: 20000124165439.A1694@ilse.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Jan 24, 2000 at 02:33:59PM -0800, Neil Cameron allegedly wrote:
> Hi Folks
>
> I want to store Word docs etc into the mighty Postgres. I think this means using blobs.
>
> 1.Does anybody know the SQL to create say a table with a field called docs to store them in. I don't know what the data type is.
>
> ie something like CREATE TABLE documents docs (blob datatype ??)
>
> 2. Is there some special syntax to get the blob back. ie SELECT (special syntax)
>
> Thanks
>
> Neil(at)blueice

You'll need to use large objects. The documentation explains how to (I'm
a bit lazy ;)

Mathijs

In response to

  • Blobs at 2000-01-24 22:33:59 from Neil Cameron

Browse pgsql-sql by date

  From Date Subject
Next Message Mark Volpe 2000-01-24 16:14:42 Backend crash
Previous Message Christopher Sawtell 2000-01-24 10:48:57 Re: [SQL] Question about COPY command