Re: ALTER TABLE: warn when actions do not recurse to partitions - Mailing list pgsql-hackers

From Chao Li
Subject Re: ALTER TABLE: warn when actions do not recurse to partitions
Date
Msg-id 56126CD5-9B14-456C-AF70-DBB12A3E4CDB@gmail.com
Whole thread Raw
In response to Re: ALTER TABLE: warn when actions do not recurse to partitions  (Chao Li <li.evan.chao@gmail.com>)
List pgsql-hackers

> On Apr 1, 2026, at 16:01, Chao Li <li.evan.chao@gmail.com> wrote:
>
>
>
>> On Mar 13, 2026, at 11:16, Chao Li <li.evan.chao@gmail.com> wrote:
>>
>>
>>
>>> On Mar 13, 2026, at 05:45, Zsolt Parragi <zsolt.parragi@percona.com> wrote:
>>>
>>> Hello
>>>
>>>> Affected sub-commands include:
>>>> ...
>>>
>>> Shouldn't SET ACCESS METHOD be included in this list?
>>>
>>> It only changes the catalog entry for the parent, existing partitions
>>> stay as-is. It only sets the access method for future direct child
>>> partitions.
>>
>> Good catch. I missed SET ACCESS METHOD. Thanks a lot.
>>
>> PFA v9:
>> * Included SET ACCESS METHOD
>> * Added a new test case where if the sub-command fails, then the notice message should not show up
>>
>> Best regards,
>> --
>> Chao Li (Evan)
>> HighGo Software Co., Ltd.
>> https://www.highgo.com/
>>
>>
>>
>>
>> <v9-0001-ALTER-TABLE-emit-NOTICE-when-ONLY-is-omitted-but-.patch>
>
> PFA v10 - fixed a test failure.
>

Oops, forgot the attachment.

--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/





Attachment

pgsql-hackers by date:

Previous
From: Nazir Bilal Yavuz
Date:
Subject: Re: Beautify read stream "per buffer data" APIs
Next
From: Pavel Stehule
Date:
Subject: Re: WIP - xmlvalidate implementation from TODO list