From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Simplify IsIndexUsableForReplicaIdentityFull() |
Date: | 2024-12-04 07:41:33 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Simplify IsIndexUsableForReplicaIdentityFull()
Take Relation as argument instead of IndexInfo. Building the
IndexInfo is an unnecessary intermediate step here.
A future patch wants to get some information that is in the relcache
but not in IndexInfo, so this will also help there.
Discussion: https://www.postgresql.org/message-id/[email protected]
Branch
------
master
Modified Files
--------------
src/backend/replication/logical/relation.c | 16 +++++++---------
src/backend/replication/logical/worker.c | 2 +-
src/include/replication/logicalrelation.h | 2 +-
3 files changed, 9 insertions(+), 11 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | John Naylor | 2024-12-04 10:12:33 | pgsql: Fix use-after-free in parallel_vacuum_reset_dead_items |
Previous Message | Amit Kapila | 2024-12-04 04:27:48 | pgsql: Ensure stored generated columns must be published when required. |