| From: | "Blaziak, Sebastian" <sebastian(dot)blaziak(at)fisglobal(dot)com> |
|---|---|
| To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org> |
| Subject: | RE: Conflict in documentation |
| Date: | 2026-03-18 14:55:02 |
| Message-ID: | VI0PR08MB10512BF815525F86DB76287B5EE4EA@VI0PR08MB10512.eurprd08.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
Hi David
The first line states that the initial data copy will _only_ copy filtered / relevant data.
While warning, but also elsewhere in the documentation it is stated that initial table _does not_ respect any publish limitations.
Hence the conflict.
Thx
Seb
From: David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Sent: Wednesday, 18 March 2026 15:15
To: Blaziak, Sebastian <sebastian(dot)blaziak(at)fisglobal(dot)com>; pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Conflict in documentation
On Wednesday, March 18, 2026, PG Doc comments form <noreply(at)postgresql(dot)org<mailto:noreply(at)postgresql(dot)org>> wrote:
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/18/logical-replication-row-filter.html<https://urldefense.com/v3/__https:/www.postgresql.org/docs/18/logical-replication-row-filter.html__;!!AI5hVGByxkJIiw!gGA2ppHJXssE1SEo1ijk9uf7nPnBuS2d5ZfjKS7l4zpkIV-Eskh3izNLfZtQ6T61OBUZ6UmEOg8iSmwHacnL0RrJhPFNtxNLYWHs$>
Description:
On page
https://www.postgresql.org/docs/current/logical-replication-row-filter.html#LOGICAL-REPLICATION-ROW-FILTER-INITIAL-DATA-SYNC<https://urldefense.com/v3/__https:/www.postgresql.org/docs/current/logical-replication-row-filter.html*LOGICAL-REPLICATION-ROW-FILTER-INITIAL-DATA-SYNC__;Iw!!AI5hVGByxkJIiw!gGA2ppHJXssE1SEo1ijk9uf7nPnBuS2d5ZfjKS7l4zpkIV-Eskh3izNLfZtQ6T61OBUZ6UmEOg8iSmwHacnL0RrJhPFNt8P9NTIY$>
If the subscription requires copying pre-existing table data and a
publication contains WHERE clauses, only data that satisfies the row filter
expressions is copied to the subscriber.
and
Warning
Because initial data synchronization does not take into account the publish
parameter when copying existing table data, some rows may be copied that
would not be replicated using DML. Refer to Section 29.9.1, and see Section
29.2.2 for examples.
conflict.
I don't see a conflict.
But I also don't really see the point of the warning - at least not with its present wording. There is the initial state and the change log (DML) and comparing the two in this manner doesn't make sense.
It's seems a bit heavy to say: warning - publish does not apply to the initial table sync. It seems like it could easily just be a note; or removed altogether as we try to avoid documenting what things don't do.
That all said I'm not planning on trying to push for a change here.
David J.
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2026-03-18 16:55:39 | Re: Conflict in documentation |
| Previous Message | David G. Johnston | 2026-03-18 14:14:49 | Re: Conflict in documentation |