]> granicus.if.org Git - postgresql/commit
Fix replication with replica identity full
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 23 Jun 2017 19:12:36 +0000 (15:12 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 23 Jun 2017 19:40:17 +0000 (15:40 -0400)
commit08859bb5c2cebc132629ca838113d27bb31b990c
tree8dcb2d337a50b81c70c9769306c66e9f6b107a7f
parent0b13b2a7712b6f91590b7589a314240a14520c2f
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>
doc/src/sgml/logical-replication.sgml
src/backend/executor/execReplication.c
src/test/subscription/t/001_rep_changes.pl