From: | Amit Kapila <akapila(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve RelationGetIdentityKeyBitmap(). |
Date: | 2021-06-28 05:38:33 |
Message-ID: | E1lxjyb-0002Ix-LF@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ee3fdb8f3465b3a5937a7fe647b7b6584a600647
Modified Files
--------------
src/backend/utils/cache/relcache.c | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-06-28 06:39:08 | pgsql: Message style improvements |
Previous Message | Amit Kapila | 2021-06-28 04:08:41 | pgsql: Fix race condition in TransactionGroupUpdateXidStatus(). |