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 950BB7B5-0180-4C36-82A0-7E17B920F740@gmail.com
Whole thread Raw
In response to Re: ALTER TABLE: warn when actions do not recurse to partitions  (Jim Jones <jim.jones@uni-muenster.de>)
List pgsql-hackers

> On Jan 13, 2026, at 19:16, Jim Jones <jim.jones@uni-muenster.de> wrote:
>
> Hi Chao
>
> On 13/01/2026 05:02, Chao Li wrote:
>>
>> PSA v3:
>>
>> * Rephrased the notice message as David's suggestion.
>> * Removed partition count from notice message.
>> * If a partitioned table doesn't have any partition, then suppress the
>> message.
>
> I've been playing with this patch, and it seems to work as expected -
> I'm surprised it didn't break any existing tests :). Do you plan to
> extend this patch to other subcommands mentioned in your initial post,
> such as SET STATISTICS?
>
> Thanks for the patch
>
> Best, Jim
>

Hi Jim,

Thanks for your testing. Yes, I plan to add the notice to other sub-commands as needed. I only updated REPLICA IDENTITY
firstto call for feedback. As you see, David has suggested the great wording for the notice message. Once the change on
REPLICAIDENTITY is reviewed, it’s easy to extend to other sub-commands. 

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







pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Buffer locking is special (hints, checksums, AIO writes)
Next
From: Sami Imseih
Date:
Subject: Re: pg_stat_statements: Fix nested tracking for implicitly closed cursors