Is it possible to "truncate" a LOB?

Поиск
Список
Период
Сортировка
От Stephen Crawley
Тема Is it possible to "truncate" a LOB?
Дата
Msg-id 200006060035.e560Zn504797@piglet.dstc.edu.au
обсуждение исходный текст
Список pgsql-sql
Suppose that I have created a LOB, written a bunch of data to it, and 
committed.

Is it now possible to rewrite the LOB to contain a lesser amount of data?
In other words can I do the equivalent of UNIX open(..., O_WRONLY | O_TRUNC) 
or ftruncate(...) on a LOB?

Or am I forced to delete the existing LOB and create a new one if I want
to shrink the size of the stored data?

-- Steve








В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum problem in my system ?
Следующее
От:
Дата:
Сообщение: moving DB