Обсуждение: Isn't "publication" wrongly defined here?

Поиск
Список
Период
Сортировка

Isn't "publication" wrongly defined here?

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/logical-replication-publication.html
Description:

In section 31.1 it says "A publication is a set of changes generated from a
table or a group of tables"... that seems wrong. It's a set of relations,
tables, whatevers. No the changes themselves. Right?

Re: Isn't "publication" wrongly defined here?

От
"David G. Johnston"
Дата:
On Friday, April 27, 2018, PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/logical-replication-publication.html
Description:

In section 31.1 it says "A publication is a set of changes generated from a
table or a group of tables"... that seems wrong. It's a set of relations,
tables, whatevers. No the changes themselves. Right?

It's correct.  The subscriber receives ongoing "events" which are the logical changes to all tables defined within the publication.  The items of interest are the ongoing changes, the list of tables is just a table of contents for which change sets are present.

David J.