]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commit1b594a326a88bf1604360daa5a274096c0762fec
tree06a02bdb5f845d1e21d70b73830c1552c9bb3793
parentc8c033f721de1e25c90acf146fabee77c9dbf92e
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>
src/backend/utils/cache/relcache.c
src/include/utils/relcache.h