Document RelationGetIndexAttrBitmap better
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 10 Aug 2023 10:04:07 +0000 (12:04 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 10 Aug 2023 10:04:07 +0000 (12:04 +0200)
commitb57cfb439bd377cfe6d01b4254dde00ae54412ac
treec44aec7efc802464608e84f6a24a237e4d13e49d
parent4d14ccd6af6e788a7b79ff3ed77bda5bc71d2edc
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: http://postgr.es/m/20230809091155.7c7f3gttjk3dj4ze@alvherre.pgsql
Reviewed-by: Tomas Vondra <tomas.vondra@enterprisedb.com>
src/backend/utils/cache/relcache.c
src/include/utils/relcache.h