index e489bfceb565185ca778166f86777f59df2f22dc..82f725baaa55c6122e3348a683b6d262ca767dd0 100644 (file)
/* GUC parameters */
int compute_query_id = COMPUTE_QUERY_ID_AUTO;
-/* True when compute_query_id is ON, or AUTO and a module requests them */
+/*
+ * True when compute_query_id is ON or AUTO, and a module requests them.
+ *
+ * Note that IsQueryIdEnabled() should be used instead of checking
+ * query_id_enabled or compute_query_id directly when we want to know
+ * whether query identifiers are computed in the core or not.
+ */
bool query_id_enabled = false;
static void AppendJumble(JumbleState *jstate,