Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 04bdde0

Browse files
author
Nikita Glukhov
committed
Add comment for jsonPathStatsGetNextKeyStats()
1 parent 13f1e2c commit 04bdde0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/utils/adt/jsonb_selfuncs.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,9 @@ jsonStatsGetPath(JsonStats jsdata, Datum *path, int pathlen, float4 *nullfrac)
432432

433433
/*
434434
* jsonPathStatsGetNextKeyStats
435-
* ???
435+
* Enumerate all collected object keys.
436+
*
437+
* This can be useful for estimation of selectivity of jsonpath '.*' operator.
436438
*/
437439
bool
438440
jsonPathStatsGetNextKeyStats(JsonPathStats stats, JsonPathStats *pkeystats,

0 commit comments

Comments
 (0)