With the upcoming change of pg_hint_plan (https://github.com/ossc-db/pg_hint_plan/pull/193) it would make life much easier if one could get the query ID from EXPLAIN, rather than digging in pg_stat_statements for it. To this end, I suggest exposing compute_query_id as a user settable flag. I think there is no risk in doing this.