public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Chao Li <[email protected]>
Cc: Postgres hackers <[email protected]>
Cc: Amit Kapila <[email protected]>
Subject: Re: docs: clarify ALTER TABLE behavior on partitioned tables
Date: Sun, 11 Jan 2026 21:04:28 -0700
Message-ID: <CAKFQuwabxFyFQob=RfKOV3upjxwomAzmGzSouN-h2ypuXz+dZg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAEoWx2=mYhCfsnHaN96Qqwq5b0GVS2YgO3zpVqPPRd_iO52wRw@mail.gmail.com>
	<[email protected]>
	<CAKFQuwbWNCX1M1e9_-3P9RVGo10huPjuqdL74FJ+-a5EW791KA@mail.gmail.com>
	<[email protected]>
	<CAKFQuwZ+o6La5DyK9_-L2gpeiKNvGMbR78UjocO4++JkyZaRHw@mail.gmail.com>
	<[email protected]>

On Sunday, January 11, 2026, Chao Li <[email protected]> wrote:

>
> The current behavior (not inherit) is questionable, we will need separate
> discussions for each of them to clarify if that’s intended or “bugs”. So,
> how about only retain the “newly created” material for these sub-commands
> and remove from the rests? In this case, I don’t think we need to update
> 5.12.
>
> What I am thinking is that, we will eventually remove the “newly created”
> material from these sub-commands, because next step we are going to fix the
> behavior on them one by one. Maybe some of them are designed to not
> “inherit the parent’s setting”, then we can add a paragraph/section to 5.12
> to describe that.
>

I’m against having material in the alter table command that doesn’t
describe the effects of executing alter table.  I’d consider possibly
pointing out if the cascade behavior of alter table doesn’t match up with
the inherit behavior of create table.  There doesn’t seem to be any such
discrepancies though.  I also have my doubts that any of this behavior is
going to change.  Better to behave as if it won’t.

David J.


view thread (8+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: docs: clarify ALTER TABLE behavior on partitioned tables
  In-Reply-To: <CAKFQuwabxFyFQob=RfKOV3upjxwomAzmGzSouN-h2ypuXz+dZg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox