Re: [SQL] Blobs - Mailing list pgsql-sql

From Mathijs Brands
Subject Re: [SQL] Blobs
Date
Msg-id 20000124165439.A1694@ilse.nl
Whole thread Raw
In response to Blobs  ("Neil Cameron" <n.cameron@blueice.co.uk>)
List 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
datatype 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@blueice

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

Mathijs


pgsql-sql by date:

Previous
From: "Neil Cameron"
Date:
Subject: Blobs
Next
From: Compte utilisateur Sultan-advl
Date:
Subject: Fwd: Re: [SQL] Blobs