RE: [SQL] data larger than 8k - Mailing list pgsql-sql

From Danny Rice
Subject RE: [SQL] data larger than 8k
Date
Msg-id 13744.56996.353223.158765@siren.bio.indiana.edu
Whole thread Raw
In response to RE: [SQL] data larger than 8k  (Rostislav Matl <xmatl@informatics.muni.cz>)
Responses RE: [SQL] data larger than 8k  (Peter T Mount <peter@retep.org.uk>)
List pgsql-sql
 >
 > On 16-Jul-98 Danny Rice wrote:
 > >
 > > If a table element can only handle up to 8k of data what do you do if
 > > you need to insert larger data?
 >
 > Rostislav Matl writes:
 > Use large_objects - it's in man pages.

Thanks,

I noticed that

create table test (name text, filename oid);
insert into test values ( 'a file', lo_import('/tmp/afile') );

will create database files named as xinv(BigInteger) and
xinx(BigInteger).

When I do

delete from test;
or
drop table test;

These xin files stay around.  Is there a way to have these cleaned up
on delete and drop?

--
Danny Rice

pgsql-sql by date:

Previous
From: Konstantinos Vassiliadis
Date:
Subject: Inserting values into setof type attributes
Next
From: Konstantinos Vassiliadis
Date:
Subject: Inserting values into set attributes