Re: support ALTER TABLE DROP EXPRESSION for virtual generated column

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: support ALTER TABLE DROP EXPRESSION for virtual generated column
Дата
Msg-id 1818336.1743045303@sss.pgh.pa.us
обсуждение исходный текст
Ответ на support ALTER TABLE DROP EXPRESSION for virtual generated column  (jian he <jian.universality@gmail.com>)
Ответы Re: support ALTER TABLE DROP EXPRESSION for virtual generated column
Список pgsql-hackers
jian he <jian.universality@gmail.com> writes:
> the attached patch is to implement $subject.

Why would this be a good idea?  I don't see any principled fallback
definition of the column.  (No, "NULL" is not that.)  Certainly we
should support ALTER TABLE DROP COLUMN, but removing the expression
and not providing a substitute seems semantically nonsensical.

            regards, tom lane



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