Re: DOCS - Clarify behaviour when EXCEPT tables are moved/renamed

Yingying Chen <cyy9255@gmail.com>

From: Yingying Chen <cyy9255@gmail.com>
To: Peter Smith <smithpb2250@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Nisha Moond <nisha.moond412@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>
Date: 2026-06-17T06:28:37Z
Lists: pgsql-hackers
On Wed, Jun 17, 2026 at 11:34 AM Peter Smith <smithpb2250@gmail.com> wrote:

> Hi,
>
> A documentation gap was identified [1] regarding the new publication
> FOR ALL TABLES EXCEPT behaviour. e.g. what happens if an excluded
> table is renamed or moved?
>
> This patch addresses that gap.
>
> Note that the patch uses different text from what was previously
> suggested because, when I checked with AI, it proposed this much
> simpler wording.
>
> ======
> [1]
> https://www.postgresql.org/message-id/CAA4eK1J_QP8CXCshaCy_01ALQQrDSzoTHfXKcAbjiEvV-RkOOw%40mail.gmail.com
>
> Kind Regards,
> Peter Smith.
> Fujitsu Australia
>

I think this is an improvement. AFAIK, the EXCEPT behavior is based on the
table OID, and renaming a table or setting its schema does not change the
table’s OID, so the defined EXCEPT for the table is not affected.

The doc patch looks good.

Regards,
Yingying Chen

Commits

  1. Doc: Clarify that publication exclusions track table identity.