summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlvaro Herrera2023-08-10 10:04:07 +0000
committerAlvaro Herrera2023-08-10 10:04:07 +0000
commit1b594a326a88bf1604360daa5a274096c0762fec (patch)
tree06a02bdb5f845d1e21d70b73830c1552c9bb3793 /src/include
parentc8c033f721de1e25c90acf146fabee77c9dbf92e (diff)
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>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/relcache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/utils/relcache.h b/src/include/utils/relcache.h
index beeb28b83cb..38524641f47 100644
--- a/src/include/utils/relcache.h
+++ b/src/include/utils/relcache.h
@@ -54,6 +54,9 @@ extern List *RelationGetIndexPredicate(Relation relation);
extern Datum *RelationGetIndexRawAttOptions(Relation indexrel);
extern bytea **RelationGetIndexAttOptions(Relation relation, bool copy);
+/*
+ * Which set of columns to return by RelationGetIndexAttrBitmap.
+ */
typedef enum IndexAttrBitmapKind
{
INDEX_ATTR_BITMAP_KEY,