Doc: clarify the conditions of usable indexes for REPLICA IDENTITY FULL tables.
Masahiko Sawada <msawada@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/logical-replication.sgml | modified | +6 −6 |
| src/backend/executor/execReplication.c | modified | +3 −3 |
| src/backend/replication/logical/relation.c | modified | +4 −7 |
Documentation touched
Discussion
- doc: improve the restriction description of using indexes on REPLICA IDENTITY FULL table. 37 messages · 2023-07-03 → 2023-07-25