Document RelationGetIndexAttrBitmap better

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: b57cfb439bd377cfe6d01b4254dde00ae54412ac
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2023-08-10T10:04:07Z
Releases: 17.0
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.vondra@enterprisedb.com>

Files

PathChange+/−
src/backend/utils/cache/relcache.c modified +9 −3
src/include/utils/relcache.h modified +3 −0

Discussion