MCPcopy Create free account
hub / github.com/apache/cloudberry / IsQueryIdEnabled

Function IsQueryIdEnabled

src/include/utils/queryjumble.h:79–87  ·  view source on GitHub ↗

* Returns whether query identifier computation has been enabled, either * directly in the GUC or by a module when the setting is 'auto'. */

Source from the content-addressed store, hash-verified

77 * directly in the GUC or by a module when the setting is 'auto'.
78 */
79static inline bool
80IsQueryIdEnabled(void)
81{
82 if (compute_query_id == COMPUTE_QUERY_ID_OFF)
83 return false;
84 if (compute_query_id == COMPUTE_QUERY_ID_ON)
85 return true;
86 return query_id_enabled;
87}
88
89#endif /* QUERYJUMBLE_H */

Callers 5

JumbleQueryFunction · 0.85
ExplainQueryFunction · 0.85
parse_analyzeFunction · 0.85
parse_analyze_varparamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected