Improve RelationGetIdentityKeyBitmap().
authorAmit Kapila <akapila@postgresql.org>
Mon, 28 Jun 2021 05:26:53 +0000 (10:56 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 28 Jun 2021 05:26:53 +0000 (10:56 +0530)
commitee3fdb8f3465b3a5937a7fe647b7b6584a600647
treeb1cc0583267de3abb6b6c951351ad5ed305e0bd1
parentb786304c2904a4e444fe740bbc2e0b69efacc19d
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: http://postgr.es/m/4C99A862-69C8-431F-960A-81B1151F1B89@enterprisedb.com
src/backend/utils/cache/relcache.c