Re: ALTER COLUMN to change GENERATED ALWAYS AS expression?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER COLUMN to change GENERATED ALWAYS AS expression?
Дата
Msg-id 3215093.1675796458@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ALTER COLUMN to change GENERATED ALWAYS AS expression?  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
Ron <ronljohnsonjr@gmail.com> writes:
> On 2/7/23 09:06, Adrian Klaver wrote:
>> To force immediate reclamation of space occupied by a dropped column, you 
>> can execute one of the forms of ALTER TABLE that performs a rewrite of the 
>> whole table. This results in reconstructing each row with the dropped 
>> column replaced by a null value."

> VACUUM FULL doesn't rewrite the table?

It moves all the tuples into a new file, but it does not rebuild
individual tuples, as would be needed to delete column values.

            regards, tom lane



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: ALTER COLUMN to change GENERATED ALWAYS AS expression?
Следующее
От: Ron
Дата:
Сообщение: Re: ALTER COLUMN to change GENERATED ALWAYS AS expression?