diff --git a/src/pg_stat_monitor.c b/src/pg_stat_monitor.c index 728dae40..cf73751a 100644 --- a/src/pg_stat_monitor.c +++ b/src/pg_stat_monitor.c @@ -484,13 +484,6 @@ pgsm_post_parse_analyze(ParseState *pstate, Query *query, JumbleState *jstate) return; } - /* - * If we are unlucky enough to get a hash of zero, use 1 instead, to - * prevent confusion with the utility-statement case. - */ - if (query->queryId == INT64CONST(0)) - query->queryId = INT64CONST(1); - /* * Let's save the normalized query so that we can save the data without in * hash later on without the need of jstate which wouldn't be available.