Improve RelationGetIdentityKeyBitmap().

Amit Kapila <akapila@postgresql.org>

Commit: ee3fdb8f3465b3a5937a7fe647b7b6584a600647
Author: Amit Kapila <akapila@postgresql.org>
Date: 2021-06-28T05:26:53Z
Releases: 14.0
Improve RelationGetIdentityKeyBitmap().

We were using RelationGetIndexList() to update the relation's replica
identity index but instead, we can directly use RelationGetReplicaIndex()
which uses the same functionality. This is a minor code readability
improvement.

Author: Japin Li
Reviewed-By: Takamichi Osumi, Amit Kapila
Discussion: https://postgr.es/m/4C99A862-69C8-431F-960A-81B1151F1B89@enterprisedb.com

Files

PathChange+/−
src/backend/utils/cache/relcache.c modified +4 −9

Discussion