Re: ALTER TABLE: warn when actions do not recurse to partitions

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: ALTER TABLE: warn when actions do not recurse to partitions
Дата
Msg-id CAKFQuwZXt2dAuHFs6MtRCzfMP6YZFzssuzdW2woJBVmco=CDdQ@mail.gmail.com
обсуждение исходный текст
Ответ на ALTER TABLE: warn when actions do not recurse to partitions  (Chao Li <li.evan.chao@gmail.com>)
Ответы Re: ALTER TABLE: warn when actions do not recurse to partitions
Re: ALTER TABLE: warn when actions do not recurse to partitions
Список pgsql-hackers
On Monday, January 12, 2026, Chao Li <li.evan.chao@gmail.com> wrote:

For now, I’ve limited the change to REPLICA IDENTITY to see whether there are objections to this approach. If there are none, I plan to extend the same warning behavior to the other sub-commands listed above. After that, users can reasonably assume that an ALTER TABLE partitioned_table ... action will recurse to child partitions unless a warning explicitly tells them otherwise.

It should be a notice, not a warning.

How about indicating how many partitions were affected in the notice and allowing the absence of such a notice to be the indicator that cascading did not happen?

David J.

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