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 1vdMaD-00HGm2-0r for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jan 2026 05:59:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vdMaC-00C6fb-0H for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jan 2026 05:59:48 +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 1vdMaB-00C6fS-11 for pgsql-hackers@lists.postgresql.org; Wed, 07 Jan 2026 05:59:48 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vdMa7-004fHV-0N for pgsql-hackers@lists.postgresql.org; Wed, 07 Jan 2026 05:59:46 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-382fe06aa94so4930131fa.0 for ; Tue, 06 Jan 2026 21:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767765581; x=1768370381; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=uEpqLgBJWGyFFhPMPFVoWuSSMgSIs6uZPO/ABcX+c6s=; b=j0dzehMD9nZjpXtZtLoDZOdeuPo0OnOuS6dWl+jLJ3wDXAlBvteKxzwAoiKPXfFq5m dpdRv5tMN4CQz9m7iiHrS1SvgoII01yDZl/QHNxa8dPMvZvM4ZwJagcKMqeccC6eAF1+ n60dqpb5S7GRq1K2OlRhN5yyL87yQCrwPouyCDfNZTbiiimkJOeNfw4nqu9FA0xuidWq Pb3n868otMqQrjh1MC9YzRKbNL2j7AQwLXsaZ/PFkr6BuNDO1J1qgCUKGm8drBqCS66S yOdA0LuR8nm9xs/fTi8l8SY+lY+f/IUYbnds99N08rOG4X5W+0B+hIdAE5tx2TRZ2jhU yu8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767765581; x=1768370381; h=cc:to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uEpqLgBJWGyFFhPMPFVoWuSSMgSIs6uZPO/ABcX+c6s=; b=Ofqnid7vB6AF2onus+PqP7OM8yHbpbmR8A9FKBYgP79VvqDVcXmPDZ4gq4SLB5Gly3 YmoYC0WfWgh/chiaJgdCw60qUXV+znL0w5HOR2EcAA5YRgLc7W0GsK1LoWS3g05JKwcq d9AwSdZ7LqYp6F3TxjiirrQ1UrGqiXUowwySEfBS/j4KVukBzt92Jjwm8t60imENkbMi MTM+tHIql7PChemkcK4sYw8aeSS0ytoVs14mubKtRwAIMFllwdEw6V7twQJa3PM822tz 0XEA9DnoLflzhnCmvNKufM+PQ1GsgRknpx+u8fgswr6dO8yHGunIdR38YERcNkJyHl6W WjFA== X-Gm-Message-State: AOJu0YzSGM/g/bvl1OSVBRP4q2Xrf54tpYk1u7ohqE89MUibYCSZKYnW 19bq9RQEeDhXqi/gQUdnNeev+uuImbcRwi3xHua4P0CAyX+sjHcHsIurFskr6RFuaaveIeiicYQ zv0wPyzgB6al9n+1GebBiGFXpODQxhD+ltGB8Sqs= X-Gm-Gg: AY/fxX4JaYeuozSxW+Ju5vAsy1CnWwYlRe0wtN9XJQKB9O6EhMZCBsrBqKfWSuppFIs rBUKQJTOpZjQfAN2JpAotPxvIT3c+Nf1+GgujJ5LVhaMGteF/cDdoHGjG0dCxevQaA4iyRNLYC2 PF3WM4ZPH00m24nFQyyuflHje3lqztX6gvlUW5PNDGq1Dd7Zht4BB3Qu7tcHiUl+sDtYZXy7RFY nyZ6ERnqxGY6APJmc8PDw/Q6X3scEi4AhdaYA+sy6zF+qR6BCmTk7bbaBzyAlgIuYX6n1OE X-Google-Smtp-Source: AGHT+IHsr72TsnfGwvPVhGWwS4Qi8zxnyCffcNwyA8yqsvJPP//o/cSIymkpM+euX6kHAi8HMjK0IoJBPlE90NY39Mc= X-Received: by 2002:a2e:a993:0:b0:37f:c5ca:72f0 with SMTP id 38308e7fff4ca-382ff67eee1mr3872731fa.8.1767765580303; Tue, 06 Jan 2026 21:59:40 -0800 (PST) MIME-Version: 1.0 From: Chao Li Date: Wed, 7 Jan 2026 13:59:28 +0800 X-Gm-Features: AQt7F2p3lc4EHyn9LpIzhXiNPUXOZrQmP7OQbbTypBKGG9-iDYb772upz59bxLY Message-ID: Subject: docs: clarify ALTER TABLE behavior on partitioned tables To: Postgres hackers Cc: Amit Kapila Content-Type: multipart/mixed; boundary="00000000000075ead60647c5ff82" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000075ead60647c5ff82 Content-Type: multipart/alternative; boundary="00000000000075ead40647c5ff80" --00000000000075ead40647c5ff80 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Hackers, This task is derived from [1], as =E2=80=9CALTER TABLE=E2=80=9D is consider= ed to exhibit =E2=80=9Cinconsistent=E2=80=9D behaviors with partitioned tables. From the = current documentation of =E2=80=9CALTER TABLE=E2=80=9D, readers won=E2=80=99t get e= nough information to form a clear understanding of how these commands behave with partitioned tables, and this gap needs to be addressed. I have spent several days verifying sub-commands of =E2=80=9CALTER TABLE=E2= =80=9D one by one against partitioned tables from the following points: 1) Does an action on a parent partitioned table propagate to child partitions? 2) Does a value set on a parent partitioned table get automatically inherited by newly created partitions? 3) Does =E2=80=9CONLY partitioned-table=E2=80=9D work as the documentation = states (preventing propagation)? 4) Can an action be performed on a partitioned table and its children independently?