git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 87ce27d) | patch
Simplify IsIndexUsableForReplicaIdentityFull()
Wed, 4 Dec 2024 07:33:28 +0000 (08:33 +0100)
Wed, 4 Dec 2024 07:33:28 +0000 (08:33 +0100)
commit 7727049e8f663344d4d0457e1d9ec048d626f3d9
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/333d3886-b737-45c3-93f4-594c96bb405d@eisentraut.org
src/backend/replication/logical/relation.c diff | blob | blame | history
src/backend/replication/logical/worker.c diff | blob | blame | history
src/include/replication/logicalrelation.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /