agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Mathijs Brands <mathijs@ilse.nl>
To: Neil Cameron <n.cameron@blueice.co.uk>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Blobs
Date: Mon, 24 Jan 2000 16:54:39 +0100
Message-ID: <20000124165439.A1694@ilse.nl> (raw)
In-Reply-To: <011a01bf66bb$2483d400$03c6c6c6@leckhampton>
References: <011a01bf66bb$2483d400$03c6c6c6@leckhampton>

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@blueice

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

Mathijs



view thread (20+ messages)  latest in thread

Message-ID: <20000124165439.A1694@ilse.nl>
Permalink:  ../20000124165439.A1694@ilse.nl/
Also on:    postgresql.org/message-id/20000124165439.A1694@ilse.nl

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mathijs@ilse.nl, n.cameron@blueice.co.uk
  Subject: Re: [SQL] Blobs
  In-Reply-To: <20000124165439.A1694@ilse.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox