You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Misleading comment/Assert in pg_stat_query_plans_storage.c #4
342: * If kind is PGQP_PLAN or PGQP_EXEC, its value is used as the array position
368: Assert(kind == PGQP_PLAN || kind == PGQP_EXEC);
Comment states:
* If kind is PGQP_PLAN or PGQP_EXEC, its value is used as the array position
* for the arrays in the Counters field.
Which implies that there can be other query types, but the assert later contradicts with the specification.
Either comment should be rephrased, or Assert.
Activity