Skip to content

Commit 40ede80

Browse files
maheshwaripclaude
andauthored
docs: correct the partition operations that break publish_via_partition_root (#38432)
### Motivation Review feedback on #38199: the `publish_via_partition_root = true` warning on the PostgreSQL partitioned tables page listed *adding* a partition as one of the operations that surfaces problems. That isn't right. Partitions created with `CREATE TABLE ... PARTITION OF` are always empty, so they move no data into the root table and cause no divergence. Truncating a partition, which does remove root-table data, was missing from the list. ### Description Replaces "added, attached, or detached" with "attached, detached, or truncated" in the warning. All three of those are DDL that adds or removes root-table data without emitting CDC events, which is precisely the failure mode the warning describes. ### Verification Docs-only prose change; no code or test surface. The paragraph rewraps to stay within the file's line width. --- _Generated by [Claude Code](https://claude.ai/code/session_01HBUT5iCf2hkNY2hEfruLTp)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent ad062d0 commit 40ede80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/user/content/ingest-data/postgres/partitioned-tables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ that uses this option, and doing so can produce incorrect results.
4040

4141
The configuration is accepted rather than rejected: the source is created, the
4242
initial snapshot is correct, and inserts, updates, and deletes appear to
43-
replicate normally. Problems surface only once partitions are added, attached,
44-
or detached. Use one of the approaches on this page instead.
43+
replicate normally. Problems surface only once partitions are attached,
44+
detached, or truncated. Use one of the approaches on this page instead.
4545

4646
{{< /warning >}}
4747

0 commit comments

Comments
 (0)