RE: [SQL] data larger than 8k

Danny Rice <dwrice@indiana.edu>

From: Danny Rice <dwrice@indiana.edu>
To: Rostislav Matl <xmatl@informatics.muni.cz>
Cc: pgsql-sql@postgreSQL.org
Date: 1998-07-18T17:43:00Z
Lists: 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