RE: [SQL] data larger than 8k

Поиск
Список
Период
Сортировка
От Danny Rice
Тема RE: [SQL] data larger than 8k
Дата
Msg-id 13744.56996.353223.158765@siren.bio.indiana.edu
обсуждение исходный текст
Ответ на RE: [SQL] data larger than 8k  (Rostislav Matl <xmatl@informatics.muni.cz>)
Ответы RE: [SQL] data larger than 8k  (Peter T Mount <peter@retep.org.uk>)
Список 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 по дате отправления:

Предыдущее
От: Konstantinos Vassiliadis
Дата:
Сообщение: Inserting values into setof type attributes
Следующее
От: Konstantinos Vassiliadis
Дата:
Сообщение: Inserting values into set attributes