From: | Masahiko Sawada <msawada(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Doc: clarify the conditions of usable indexes for REPLICA IDENTI |
Date: | 2023-07-13 06:05:47 |
Message-ID: | E1qJpSU-00082I-Pv@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Doc: clarify the conditions of usable indexes for REPLICA IDENTITY FULL tables.
Commit 89e46da5e allowed REPLICA IDENTITY FULL tables to use an index
on the subscriber during apply of update/delete. This commit clarifies
in the documentation that the leftmost field of candidate indexes must
be a column (not an expression) that references the published relation
column.
The source code comments are also updated accordingly.
Reviewed-by: Peter Smith, Amit Kapila
Discussion: https://postgr.es/m/CAD21AoDJjffEvUFKXT27Q5U8-UU9JHv4rrJ9Ke8Zkc5UPWHLvA@mail.gmail.com
Backpatch-through: 16
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/fd48a86c6241b994ce67c8b53a918e6b42c8063c
Modified Files
--------------
doc/src/sgml/logical-replication.sgml | 12 ++++++------
src/backend/executor/execReplication.c | 6 +++---
src/backend/replication/logical/relation.c | 11 ++++-------
3 files changed, 13 insertions(+), 16 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2023-07-13 06:05:57 | pgsql: Doc: clarify the conditions of usable indexes for REPLICA IDENTI |
Previous Message | Nathan Bossart | 2023-07-13 04:32:17 | pgsql: Rename session_auth_is_superuser to current_role_is_superuser. |