Обсуждение: pgsql: Document RelationGetIndexAttrBitmap better

Поиск
Список
Период
Сортировка

pgsql: Document RelationGetIndexAttrBitmap better

От
Alvaro Herrera
Дата:
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>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b57cfb439bd377cfe6d01b4254dde00ae54412ac

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