From 842fb97fe9662476d9f38836a16128c55d79e079 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Thu, 8 Feb 2024 13:33:51 +1100 Subject: [PATCH v1] replica identity clarifications --- doc/src/sgml/logical-replication.sgml | 3 ++- doc/src/sgml/ref/alter_table.sgml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml index ec21306..44d6b2c 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -144,7 +144,8 @@ than FULL is set on the publisher side, a replica identity comprising the same or fewer columns must also be set on the subscriber side. See for details on - how to set the replica identity. If a table without a replica identity is + how to set the replica identity. If a table without a replica identity + (or with replica identity behavior the same as NOTHING) is added to a publication that replicates UPDATE or DELETE operations then subsequent UPDATE or DELETE diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 9670671..a844195 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -913,7 +913,8 @@ WITH ( MODULUS numeric_literal, REM Records the old values of the columns of the primary key, if any. - This is the default for non-system tables. + This is the default for non-system tables. If there is no primary key, + the behavior is the same as NOTHING. -- 1.8.3.1