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

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
Cc: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: ALTER TABLE: warn when actions do not recurse to partitions
Date: 2026-03-12 06:37:56
Message-ID: 8DB1987E-08F3-46EE-B440-A1358310486B@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Mar 12, 2026, at 10:09, Greg Sabino Mullane <htamfids(at)gmail(dot)com> wrote:
>
> Okay, that's all fine with me, thank you for the explanations!
>
> One more small idea: lose the bool found = false, and simply return; on a matching strcmp
>

Make sense. PFA v8.

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

Attachment Content-Type Size
v8-0001-ALTER-TABLE-emit-NOTICE-when-ONLY-is-omitted-but-.patch application/octet-stream 39.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anders Åstrand 2026-03-12 06:44:33 Re: Change initdb default to the builtin collation provider
Previous Message Chao Li 2026-03-12 06:04:39 Re: Add missing stats_reset column to pg_stat_database_conflicts view