Re: [patch] ALTER COLUMN SET EXPRESSION [GENERATED|STORED]

Поиск
Список
Период
Сортировка
От jian he
Тема Re: [patch] ALTER COLUMN SET EXPRESSION [GENERATED|STORED]
Дата
Msg-id CACJufxEcKjQgQpnadHdLdW-os2VRuy-xe=2tebgK18jDvDFkUQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [patch] ALTER COLUMN SET EXPRESSION [GENERATED|STORED]  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
hi.

I found a use case for this patch:
If you want to change a column from stored to virtual, or from virtual to
stored, you previously had to drop the column and re-add it as a stored or
virtual generated column. This would break all existing dependencies, requiring
them to be recreated from scratch. With this patch, the process is much more
convenient, as RememberAllDependentForRebuilding is used internally to rebuild
all dependencies automatically.

A rebased patch is attached.


--
jian
https://www.enterprisedb.com/

Вложения

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