People of pg_stat_statements could prefer to use queryid (perhaps in combination with dbid and userid) as a more steady and trusted identifier for every entry than its question text. Nevertheless, it is necessary to recognize that there are only restricted ensures all around The steadiness of your queryid hash benefit. Since the identifier is deriv