Re: tablesync copy ignores publication actions

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: tablesync copy ignores publication actions
Дата
Msg-id bd49c14d-7a01-4ae3-b424-8c49630fec57@www.fastmail.com
обсуждение исходный текст
Ответ на tablesync copy ignores publication actions  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: tablesync copy ignores publication actions  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Tue, Jun 7, 2022, at 1:10 AM, Peter Smith wrote:
The logical replication tablesync ignores the publication 'publish'
operations during the initial data copy.

This is current/known PG behaviour (e.g. as recently mentioned [1])
but it was not documented anywhere.
initial data synchronization != replication. publish parameter is a replication
property; it is not a initial data synchronization property. Maybe we should
make it clear like you are suggesting.

This patch just documents the existing behaviour and gives some examples.
Why did you add this information to that specific paragraph? IMO it belongs to
a separate paragraph; I would add it as the first paragraph in that subsection.

I suggest the following paragraph:

<para>
The initial data synchronization does not take into account the 
<literal>publish</literal> parameter to copy the existing data.
</para>

There is no point to link the Initial Snapshot subsection. That subsection is
explaining the initial copy steps and you want to inform about the effect of a
publication parameter on the initial copy. Although both are talking about the
same topic (initial copy), that link to Initial Snapshot subsection won't add
additional information about the publish parameter. You could expand the
suggested sentence to make it clear what publish parameter is or even add a
link to the CREATE PUBLICATION synopsis (that explains about publish
parameter).

You add an empty paragraph. Remove it.

I'm not sure it deserves an example. It is an easy-to-understand concept and a
good description is better than ~ 80 new lines.


--
Euler Taveira

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: pgcon unconference / impact of block size on performance
Следующее
От: Jakub Wartak
Дата:
Сообщение: RE: pgcon unconference / impact of block size on performance