Обсуждение: [COMMITTERS] pgsql: Fix replication with replica identity full

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

[COMMITTERS] pgsql: Fix replication with replica identity full

От
Peter Eisentraut
Дата:
Fix replication with replica identity full

The comparison with the target rows on the subscriber side was done with
datumIsEqual(), which can have false negatives.  For instance, it didn't
work reliably for text columns.  So use the equality operator provided
by the type cache instead.

Also add more user documentation about replica identity requirements.

Reported-by: Tatsuo Ishii <ishii@sraoss.co.jp>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/08859bb5c2cebc132629ca838113d27bb31b990c

Modified Files
--------------
doc/src/sgml/logical-replication.sgml      | 28 +++++++++++++++++++++++-----
src/backend/executor/execReplication.c     | 19 ++++++++++++++++---
src/test/subscription/t/001_rep_changes.pl | 23 ++++++++++++++++++++---
3 files changed, 59 insertions(+), 11 deletions(-)