pgsql: Document RelationGetIndexAttrBitmap better

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Document RelationGetIndexAttrBitmap better
Date: 2023-08-10 10:05:03
Message-ID: E1qU2XO-001Lsf-Sr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Document RelationGetIndexAttrBitmap better

Commit 19d8e2308bc5 changed the list of set-of-columns that can be
returned by RelationGetIndexAttrBitmap, but didn't update its
"documentation". That was pretty hard to read already, so rewrite to
make it more comprehensible, adding the missing values while at it.

Backpatch to 16, like that commit.

Discussion: https://postgr.es/m/20230809091155.7c7f3gttjk3dj4ze@alvherre.pgsql
Reviewed-by: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1b594a326a88bf1604360daa5a274096c0762fec

Modified Files
--------------
src/backend/utils/cache/relcache.c | 12 +++++++++---
src/include/utils/relcache.h | 3 +++
2 files changed, 12 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2023-08-10 10:06:54 Re: pgsql: Ignore BRIN indexes when checking for HOT udpates
Previous Message Jeff Davis 2023-08-10 06:08:10 Re: pgsql: Recalculate search_path after ALTER ROLE.