Обсуждение: 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
------
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(-)