Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vf9AR-004bii-0d for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Jan 2026 04:04:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vf9AQ-00Cyt5-0I for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Jan 2026 04:04:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vf9AP-00CysZ-2U for pgsql-hackers@lists.postgresql.org; Mon, 12 Jan 2026 04:04:34 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vf9AM-005ewG-1M for pgsql-hackers@lists.postgresql.org; Mon, 12 Jan 2026 04:04:33 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-3f0ec55ce57so4210776fac.2 for ; Sun, 11 Jan 2026 20:04:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768190669; x=1768795469; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NXu5PevxU/ReWx4tn8q9AeA7bwOuIvK9hMyXD53GY84=; b=hhscTfw+xWVoaSLte7ZxjAnVpkLktO4KRcGAWsttiQrYHIwcN18weWHfQjo5CcWZTz b/Y80JuqHgGBJm2KFSBUwRh/pDuCdL/utTWKmaNI7Vuflu2+1iKZ6pK4XWn9gRblCC3p /pAAcqPtPRRfbAzbLs1Xzy5q4QW8fSiOnjujXODVO/q5Di5nTkHwlFH0GxMh4IIqZJ06 aEkbsO5l+MApmOBLPCCGKnujf6qpkTEK+ks+ZuWJ7DMQgkpXQnn6S7J3ruh2ZyxD+I8/ ABkcdzBDtDncYlD1fyebrKU6PFiyLkIQbGZWm3OTaw2S46VU6c1bQ37CFQiFlS0DPrBM plqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768190669; x=1768795469; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NXu5PevxU/ReWx4tn8q9AeA7bwOuIvK9hMyXD53GY84=; b=QJ5SbFvQN+XW+1q1cic2fGiX8BgCS71j2Y+bgVenyoo2+UJSXEzT1L85sKQGjVTXNV hoqvvgRbY3i7LmD2z83tFsz0/STBUK7qeP1T0kqUfaI3sERaBsQ/wAio+gZKYhxxquoP R4FquT7whiHpc3VIA7StZNOHlLlq5GRSu5Ttl9MfNYo/O4QS1iCN/wF2w56WwTjA35H8 I/kGPq01NVd2S2+vOdrFqjhTItmWJb1xoIadzjE+crWc545PORDNj6OAdr0g2kXETS03 g3ee2AAlSnTJO4qy9kWBwTu4MEh4OSBoEsS1e7ACedxV5JQAd5Y20gf+TFHjRRRBILJ1 1Mpg== X-Gm-Message-State: AOJu0YyhJkcLmSGhi85MfPeYJEkxXd1IbLDKjne1baR9sK0Q05awTh5u D6D4TWatN/PoKBkIWzU7KaAtjuzxEVP5CP/zk/W8h1fQm4Uf8AaOp1DuwVI2MHKINhPaOckMTfT XBj+grj+ThkzzpdnDxb5x2dkDXMzKCuk= X-Gm-Gg: AY/fxX5l+3ULCJBhgnCDmegFbV8nf26v6u2O9MrsayIMj5cTGr57Dv/NVlIfivqv9qr 2x76cIDF6JD5kKJC5SyWxsrnYTfXyJmCdvnuJJPjMVuqWDKQ10gka/msrozKJLyejbd2BljMTMX PcRiEDNLNFBLqvKUS3z4LB+yRzowzVlm8BJ1DKae+Ipj11b1RRlbiM8NS/dw9ps9/sUAOAfbJP3 Cpi7/pU7Fo8tDlwRW+TOCdVhPL93Pr6ApwK0joHyQNcbmzqCzMhvY6vUU8ixkfWoKpZvIZJ X-Google-Smtp-Source: AGHT+IEV0ZcYLAKD2QS7hu+e1H13YYs4H8TZZ6slvP2Qjt1hnV4VttldoRfQFiFm3nuCBzPxv0tZhAOKSubaubNnHa4= X-Received: by 2002:a05:6871:a69f:b0:3e8:4d56:c2f5 with SMTP id 586e51a60fabf-3ffc063f113mr9490278fac.0.1768190669338; Sun, 11 Jan 2026 20:04:29 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6802:6649:10b0:619:571f:707d with HTTP; Sun, 11 Jan 2026 20:04:28 -0800 (PST) In-Reply-To: References: <90F9169D-135C-45E5-8221-4F79DAED98E2@gmail.com> From: "David G. Johnston" Date: Sun, 11 Jan 2026 21:04:28 -0700 X-Gm-Features: AZwV_Qitr2f0iuBsfd5BERt6QsyYG1t_-gFB5UbSq9S2G2e1NafzWEQRsVEKJiE Message-ID: Subject: Re: docs: clarify ALTER TABLE behavior on partitioned tables To: Chao Li Cc: Postgres hackers , Amit Kapila Content-Type: multipart/alternative; boundary="000000000000bdbbc1064828f806" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000bdbbc1064828f806 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sunday, January 11, 2026, Chao Li wrote: > > The current behavior (not inherit) is questionable, we will need separate > discussions for each of them to clarify if that=E2=80=99s intended or =E2= =80=9Cbugs=E2=80=9D. So, > how about only retain the =E2=80=9Cnewly created=E2=80=9D material for th= ese sub-commands > and remove from the rests? In this case, I don=E2=80=99t think we need to= update > 5.12. > > What I am thinking is that, we will eventually remove the =E2=80=9Cnewly = created=E2=80=9D > material from these sub-commands, because next step we are going to fix t= he > behavior on them one by one. Maybe some of them are designed to not > =E2=80=9Cinherit the parent=E2=80=99s setting=E2=80=9D, then we can add a= paragraph/section to 5.12 > to describe that. > I=E2=80=99m against having material in the alter table command that doesn= =E2=80=99t describe the effects of executing alter table. I=E2=80=99d consider possib= ly pointing out if the cascade behavior of alter table doesn=E2=80=99t match u= p with the inherit behavior of create table. There doesn=E2=80=99t 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=E2=80=99t. David J. --000000000000bdbbc1064828f806 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sunday, January 11, 2026, Chao Li <li.evan.chao@gmail.com> wrote:

The current behavior (not inherit) is questionable, we will need separate d= iscussions for each of them to clarify if that=E2=80=99s intended or =E2=80= =9Cbugs=E2=80=9D. So, how about only retain the =E2=80=9Cnewly created=E2= =80=9D material for these sub-commands and remove from the rests? In this c= ase, I don=E2=80=99t think we need to update 5.12.=C2=A0

What I am thinking is that, we will eventually remove the =E2=80=9Cnewl= y created=E2=80=9D material from these sub-commands, because next step we a= re going to fix the behavior on them one by one. Maybe some of them are des= igned to not =E2=80=9Cinherit the parent=E2=80=99s setting=E2=80=9D, then w= e can add a paragraph/section to 5.12 to describe that.

I=E2=80=99m against having material in the= alter table command that doesn=E2=80=99t describe the effects of executing= alter table.=C2=A0 I=E2=80=99d consider possibly pointing out if the casca= de behavior of alter table doesn=E2=80=99t match up with the inherit behavi= or of create table.=C2=A0 There doesn=E2=80=99t seem to be any such discrep= ancies though.=C2=A0 I also have my doubts that any of this behavior is goi= ng to change.=C2=A0 Better to behave as if it won=E2=80=99t.

=
David J.

--000000000000bdbbc1064828f806--